-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Good day
Metcalf did not work for me and I am trying to use the other scoring methods. However I am having difficulties enabling NPClass and Rosetta. I am able to see it and select it but when I run it it always the output "invalid scoring method". I am using NPLinker 2.0.0b1 and python 3.11.
ValueError Traceback (most recent call last)
Cell In[8], line 16
13 print(npl.strains)
15 # compute the links for the first 3 GCFs using rosetta scoring method
---> 16 link_graph = npl.get_links(npl.gcfs[:50], "rosetta")
18 # get links as a list of tuples
19 link_graph.links
File ~/miniconda3/envs/npl-3.11/lib/python3.11/site-packages/nplinker/nplinker.py:257, in NPLinker.get_links(self, objects, scoring_method, **scoring_params)
255 # Validate scoring method
256 if scoring_method not in self._valid_scoring_methods:
--> 257 raise ValueError(f"Invalid scoring method {scoring_method}.")
259 # Check if the scoring method has been set up
260 if not self._scoring_methods_setup_done[scoring_method]:
ValueError: Invalid scoring method rosetta.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status