Mercurial > repos > bimib > cobraxy
diff COBRAxy/src/utils/reaction_parsing.py @ 542:fcdbc81feb45 draft
Uploaded
| author | francesco_lapi |
|---|---|
| date | Sun, 26 Oct 2025 19:27:41 +0000 |
| parents | 2fb97466e404 |
| children |
line wrap: on
line diff
--- a/COBRAxy/src/utils/reaction_parsing.py Sat Oct 25 15:20:55 2025 +0000 +++ b/COBRAxy/src/utils/reaction_parsing.py Sun Oct 26 19:27:41 2025 +0000 @@ -8,10 +8,14 @@ - Loading custom reactions from a tabular file (TSV) """ from enum import Enum -import utils.general_utils as utils from typing import Dict import re +try: + from . import general_utils as utils +except: + import general_utils as utils + # Reaction direction encoding: class ReactionDir(Enum): """
