We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45d81a2 commit 4287f37Copy full SHA for 4287f37
curationTool/reactions/utils/gen_vmh_abbrs.py
@@ -69,7 +69,7 @@ def gen_metabolite_abbr(
69
result = matlab_session.execute('generateVMHMetAbbr', metabolite_name)
70
print(f"[DEBUG gen_vmh_abbrs] MATLAB result: {result}", flush=True)
71
abbr = result['result'] if result['status'] == 'success' else metabolite_name
72
- # abbr = abbr[-1] if isinstance(abbr, list) else abbr
+ abbr = abbr[-1] if isinstance(abbr, list) else abbr
73
exists = check_met_abbr_exists(abbr)
74
while exists:
75
abbr = abbr + '_'
0 commit comments