Skip to content

Commit

Permalink
rather fix in phenotype
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiener committed Mar 1, 2024
1 parent f4a7007 commit 5c28cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micom/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ def annotate_metabolites_from_exchanges(com):
warnings.simplefilter("ignore", category=UserWarning)
anns = annotate(mets.object.tolist(), com, "metabolite")
anns["reaction"] = mets.reaction.values
return anns.drop_duplicates(subset=["metabolite"])
return anns.drop_duplicates(subset=["reaction"])

0 comments on commit 5c28cad

Please sign in to comment.