allensdk.brain_observatory.behavior.metadata.util module¶
-
allensdk.brain_observatory.behavior.metadata.util.
parse_age_in_days
(age: str) → Union[int, NoneType][source]¶ Converts the age code into a numeric days representation
Parameters: - age
age code, ie P123
-
allensdk.brain_observatory.behavior.metadata.util.
parse_cre_line
(full_genotype: str) → Union[str, NoneType][source]¶ Parameters: - full_genotype
formatted from LIMS, e.g. Vip-IRES-Cre/wt;Ai148(TIT2L-GC6f-ICL-tTA2)/wt
Returns: - cre_line
just the Cre line, e.g. Vip-IRES-Cre, or None if not possible to parse