Skip to content

Commit

Permalink
Fix typo in migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
kheal committed Jan 28, 2025
1 parent c534802 commit cde42ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nmdc_schema/migrators/migrator_from_11_3_0_to_11_4_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def set_metab_analysis_category(self, workflow: dict) -> dict:
{'id': 123, 'type': 'nmdc:MetabolomicsAnalysis', 'has_metabolite_identifications': [], 'metabolomics_analysis_category': 'gc_ms_metabolomics'}
>>> m.set_metab_analysis_category({'id': 123, 'type': 'nmdc:MetabolomicsAnalysis'}) # does not have has_metabolite_identifications field, therefore it's a lipid analysis
{'id': 123, 'type': 'nmdc:MetabolomicsAnalysis', 'metabolomics_analysis_category': 'lc_ms_lipidomics'}
>>> m.set_metab_analysis_category({'id': 123, 'type': 'nmdc:Metaproteomics') # not a metabolomics analysis
>>> m.set_metab_analysis_category({'id': 123, 'type': 'nmdc:Metaproteomics'}) # not a metabolomics analysis
{'id': 123, 'type': 'nmdc:Metaproteomics'}
"""

Expand Down

0 comments on commit cde42ae

Please sign in to comment.