Mercurial > repos > bimib > cobraxy
comparison COBRAxy/utils/reaction_parsing.py @ 381:0a3ca20848f3 draft
Uploaded
author | francesco_lapi |
---|---|
date | Fri, 05 Sep 2025 09:18:26 +0000 |
parents | 41f35c2f0c7b |
children |
comparison
equal
deleted
inserted
replaced
380:03a7ba63813f | 381:0a3ca20848f3 |
---|---|
122 customReactionsPath : path to the reactions information file. | 122 customReactionsPath : path to the reactions information file. |
123 | 123 |
124 Returns: | 124 Returns: |
125 ReactionsDict : dictionary encoding custom reactions information. | 125 ReactionsDict : dictionary encoding custom reactions information. |
126 """ | 126 """ |
127 reactionsData :Dict[str, str] = {row[0]: row[1] for row in utils.readCsv(utils.FilePath.fromStrPath(customReactionsPath))} | 127 reactionsData :Dict[str, str] = {row[0]: row[1] for row in utils.readCsv(utils.FilePath.fromStrPath(customReactionsPath), delimiter = "\t")} |
128 | |
129 return create_reaction_dict(reactionsData) | 128 return create_reaction_dict(reactionsData) |
130 | 129 |