merlin.dates¶
-
merlin.dates.
enddate
(acquired)[source]¶ Returns the enddate from an acquired date string
Parameters: acquired (str) – / separated date range in iso8601 format Returns: End date Return type: str
-
merlin.dates.
from_cas
(cas)[source]¶ Transform a dict of chips and specs into a dict of datestrings
Parameters: cas – chips and specs {k: [chips],[specs]} Returns: {k: [datestring2, datestring1, datestring3]} Return type: dict
-
merlin.dates.
is_acquired
(acquired)[source]¶ Is the date string a / separated date range in iso8601 format?
Parameters: acquired – A date string - Returns;
- bool: True or False