-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when loading local data #129
Comments
Follow up:
02:01:07 [INFO] runbigscape.py:63, BiG-SCAPE completed with return code 0 |
Hi Gustavo Exception: Unknown MiBIG BGC: original=BGC0001932.1 / parsed=BGC0001932 Hope it helps |
Thanks Menus, that suggestion solved the problem! |
Hello!
I'm running NPLinker on Linux but using the Docker workflow. At some point, I get the following error, and I am not sure what's causing it. I thought it was that the antismash format, so I changed it to flat from default, but it didn't work. Is there anything else I should be doing? Thanks in advance!!
22:39:50 [INFO] genomics.py:266, Using antiSMASH filename delimiters ['.', '_', '-']
2023-03-16 22:39:50,976 Error in server loaded hook ValueError('substring not found')
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/bokeh/server/contexts.py", line 193, in run_load_hook
self._application.on_server_loaded(self.server_context)
File "/usr/local/lib/python3.10/site-packages/bokeh/application/application.py", line 209, in on_server_loaded
h.on_server_loaded(server_context)
File "/usr/local/lib/python3.10/site-packages/bokeh/application/handlers/directory.py", line 262, in on_server_loaded
return self._lifecycle_handler.on_server_loaded(server_context)
File "/usr/local/lib/python3.10/site-packages/bokeh/application/handlers/lifecycle.py", line 92, in on_server_loaded
return self._on_server_loaded(server_context)
File "/app/nplinker/server_lifecycle.py", line 62, in on_server_loaded
nh.load()
File "/app/nplinker/server_lifecycle.py", line 20, in load
self.load_nplinker()
File "/app/nplinker/server_lifecycle.py", line 43, in load_nplinker
if not self.nplinker.load_data():
File "/usr/local/lib/python3.10/site-packages/nplinker/nplinker.py", line 272, in load_data
if not self._loader.load(met_only=met_only):
File "/usr/local/lib/python3.10/site-packages/nplinker/loader.py", line 337, in load
if not met_only and not self._load_genomics():
File "/usr/local/lib/python3.10/site-packages/nplinker/loader.py", line 691, in _load_genomics
self.gcfs, self.bgcs, self.strains, unknown_strains = loadBGC_from_cluster_files(
File "/usr/local/lib/python3.10/site-packages/nplinker/genomics.py", line 283, in loadBGC_from_cluster_files
nname = name[:name.index('.')]
ValueError: substring not found
The text was updated successfully, but these errors were encountered: