Issue importing GlycoWorkbench file (gwp)
Closed this issue · 3 comments
trvadams commented
Hello, have run into a problem while using pGlyco3.1_build20231220 on Windows 11.
When trying to import a GlycoWorkbench file to make a custom N-glycan database, I get the following error:
N(NH(HNH)HNH)F
Traceback (most recent call last):
File "glycoworkbench_to_gdb.py", line 211, in <module>
File "glycoworkbench_to_gdb.py", line 196, in ReadOneGWP
File "glycoworkbench_to_gdb.py", line 93, in generate_subtree_by_gwb
UnboundLocalError: local variable 'j' referenced before assignment
[31656] Failed to execute script 'glycoworkbench_to_gdb' due to unhandled exception!
I am attempting this with a .gwp file containing single structure as seen below. If I try multiple structures, it gives the same error.
Are there any workarounds to this problem, or alternatives for converting gws formatted sequences to gdb?