Skip to content
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

NameError: name '_const' is not defined #293

Open
RicoBorra opened this issue Apr 17, 2024 · 1 comment
Open

NameError: name '_const' is not defined #293

RicoBorra opened this issue Apr 17, 2024 · 1 comment
Labels
bug Problem in the code

Comments

@RicoBorra
Copy link

Describe the bug
In the file pypath/core/evidence.py at line 324 it checks if value is instance of _const.LIST_LIKE, however _const is not in namespace.
I fixed it by adding import pypath_common._constants as _const in the pypath/core/evidence.py file after looking at the codebase and finding where the constant was defined.

To Reproduce
Steps to reproduce the behavior:

  1. from pypath import omnipath
  2. op = omnipath.db.get_db("curated")

Expected behavior
Creation of curated db without errors

Traceback

NameError                                 Traceback (most recent call last)
Cell In[2], [line 3](vscode-notebook-cell:?execution_count=2&line=3)
      [1](vscode-notebook-cell:?execution_count=2&line=1) from pypath import omnipath
----> [3](vscode-notebook-cell:?execution_count=2&line=3) op = omnipath.db.get_db("curated")
      [4](vscode-notebook-cell:?execution_count=2&line=4) op

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:492](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:492), in DatabaseManager.get_db(self, dataset, ncbi_tax_id)
    [482](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:482) def get_db(self, dataset, ncbi_tax_id = 9606):
    [483](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:483)     """
    [484](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:484)     Returns a dataset object. Loads and builds the dataset if necessary.
    [485](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:485) 
   (...)
    [489](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:489)         files.
    [490](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:490)     """
--> [492](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:492)     self.ensure_dataset(dataset, ncbi_tax_id = ncbi_tax_id)
    [494](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:494)     _dataset = self._dataset_taxid(dataset, ncbi_tax_id = ncbi_tax_id)
    [496](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:496)     return getattr(self, _dataset)

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:143](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:143), in DatabaseManager.ensure_dataset(self, dataset, force_reload, force_rebuild, ncbi_tax_id)
    [136](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:136)     self.build_dataset(dataset, ncbi_tax_id = ncbi_tax_id)
    [138](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:138) elif (
    [139](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:139)     not hasattr(self, _dataset) or
    [140](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:140)     force_reload
    [141](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:141) ):
--> [143](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:143)     self.load_dataset(dataset, ncbi_tax_id = ncbi_tax_id)

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:375](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:375), in DatabaseManager.load_dataset(self, dataset, ncbi_tax_id)
    [371](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:371) setattr(self, _dataset, mod.get_db(pickle_file = pickle_path))
    [373](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:373) self._log('Loaded dataset `%s` from `%s`.' % (dataset, pickle_path))
--> [375](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:375) self._add_network_df(dataset, ncbi_tax_id = ncbi_tax_id)

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:589](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:589), in DatabaseManager._add_network_df(self, dataset, ncbi_tax_id)
    [579](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:579) obj = getattr(self, _dataset)
    [581](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:581) if (
    [582](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:582)     (
    [583](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:583)         hasattr(obj, 'graph') and
   (...)
    [586](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:586)     isinstance(obj, network.Network)
    [587](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:587) ):
--> [589](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:589)     network_df = self._network_df(obj, by_source = False)
    [590](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:590)     network_df_by_source = self._network_df(obj, by_source = True)
    [592](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:592)     self.network_dfs[dataset] = {}

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:570](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:570), in DatabaseManager._network_df(self, obj, **kwargs)
    [566](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:566) if not isinstance(obj, network.Network):
    [568](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:568)     obj = network.Network.from_igraph(obj)
--> [570](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:570) obj.make_df(**kwargs)
    [572](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/omnipath/app.py:572) return obj.df

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2340](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2340), in Network.make_df(self, records, by_source, with_references, columns, dtype)
   [2333](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2333)     records = self.generate_df_records(
   [2334](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2334)         by_source = by_source,
   [2335](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2335)         with_references = with_references,
   [2336](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2336)     )
   [2338](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2338) if not isinstance(records, (list, tuple, np.ndarray)):
-> [2340](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2340)     records = list(records)
   [2342](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2342) if not columns and hasattr(records[0], '_fields'):
   [2344](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2344)     columns = records[0]._fields

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2421](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2421), in Network.generate_df_records(self, by_source, with_references)
   [2417](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2417) def generate_df_records(self, by_source = False, with_references = False):
   [2419](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2419)     for ia in self.interactions.values():
-> [2421](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2421)         for rec in ia.generate_df_records(
   [2422](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2422)             by_source = by_source,
   [2423](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2423)             with_references = with_references,
   [2424](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2424)         ):
   [2426](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/network.py:2426)             yield rec

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3172](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3172), in Interaction.generate_df_records(self, by_source, with_references)
   [3166](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3166)             yield _sources, refs
   [3169](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3169) for interaction_type in self.get_interaction_types():
   [3171](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3171)     dmodels = (
-> [3172](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3172)         self.get_data_models(interaction_type = interaction_type)
   [3173](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3173)     )
   [3174](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3174)     dmodels = dmodels if by_source else (dmodels,)
   [3176](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:3176)     for data_model in dmodels:

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2952](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2952), in Interaction._generate_get_methods.<locals>._create_get_method.<locals>._get_method(*args, **kwargs)
   [2949](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2949) @functools.wraps(method)
   [2950](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2950) def _get_method(*args, **kwargs):
-> [2952](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2952)     return cls._get(self = args[0], method = method, **kwargs)

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2842](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2842), in Interaction._get(self, method, **kwargs)
   [2836](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2836) @staticmethod
   [2837](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2837) def _get(self, method, **kwargs):
   [2839](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2839)     via = kwargs['via'] if 'via' in kwargs else False
   [2841](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2841)     return getattr(
-> [2842](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2842)         self.get_evidences(
   [2843](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2843)             **kwargs
   [2844](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2844)         ),
   [2845](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2845)         'get_%s' % method,
   [2846](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2846)     )(via = via)

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2173](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2173), in Interaction.get_evidences(self, direction, effect, resources, data_model, interaction_type, via, references, datasets)
   [2127](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2127) effect = self._effect_synonyms(effect)
   [2129](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2129) evidences = (
   [2130](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2130) 
   [2131](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2131)     # any signed
   (...)
   [2169](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2169) 
   [2170](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2170) )
   [2172](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2172) return (
-> [2173](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2173)     pypath_evidence.Evidences(
   [2174](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2174)         evidences.filter(
   [2175](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2175)             resource = resources,
   [2176](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2176)             interaction_type = interaction_type,
   [2177](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2177)             via = via,
   [2178](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2178)             data_model = data_model,
   [2179](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2179)             references = references,
   [2180](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2180)             datasets = datasets,
   [2181](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2181)         )
   [2182](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2182)     )
   [2183](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/interaction.py:2183) )

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:443](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:443), in Evidences.__init__(self, evidences)
    [440](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:440) def __init__(self, evidences = ()):
    [442](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:442)     self.evidences = {}
--> [443](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:443)     self.__iadd__(evidences)

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:481](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:481), in Evidences.__iadd__(self, other)
    [468](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:468)     other = Evidence(other)
    [470](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:470) other = (
    [471](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:471)     other
    [472](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:472)         if (
   (...)
    [478](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:478)     ()
    [479](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:479) )
--> [481](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:481) for ev in other:
    [483](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:483)     if ev.key in self.evidences:
    [485](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:485)         self.evidences[ev.key] = self.evidences[ev.key] + ev

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:826](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:826), in <genexpr>(.0)
    [814](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:814) def filter(
    [815](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:815)         self,
    [816](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:816)         resource = None,
   (...)
    [821](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:821)         datasets = None,
    [822](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:822)     ):
    [824](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:824)     return (
    [825](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:825)         ev for ev in self
--> [826](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:826)         if ev.match(
    [827](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:827)             resource = resource,
    [828](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:828)             data_model = data_model,
    [829](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:829)             interaction_type = interaction_type,
    [830](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:830)             via = via,
    [831](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:831)             references = references,
    [832](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:832)             datasets = datasets,
    [833](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:833)         )
    [834](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:834)     )

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:371](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:371), in Evidence.match(self, resource, data_model, interaction_type, via, references, datasets)
    [353](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:353) data_model = (
    [354](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:354)     resource.data_model
    [355](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:355)         if hasattr(resource, 'data_model') else
    [356](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:356)     data_model
    [357](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:357) )
    [359](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:359) references = common.to_set(references)
    [361](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:361) return (
    [362](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:362)     (
    [363](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:363)         resource is None or (
    [364](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:364)             self.resource.name in resource
    [365](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:365)                 if isinstance(resource, set) else
    [366](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:366)             self.resource == resource
    [367](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:367)         )
    [368](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:368)     ) and
    [369](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:369)     (
    [370](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:370)         interaction_type is None or
--> [371](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:371)         _match('interaction_type', interaction_type)
    [372](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:372)     ) and
    [373](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:373)     (
    [374](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:374)         via is None or
    [375](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:375)         (via == False and not self.resource.via) or
    [376](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:376)         (via == True and self.resource.via) or
    [377](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:377)         _match('via', via)
    [378](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:378)     ) and
    [379](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:379)     (
    [380](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:380)         not references or
    [381](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:381)         self.references & references
    [382](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:382)     ) and
    [383](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:383)     (
    [384](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:384)         not data_model or
    [385](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:385)         _match('data_model', data_model)
    [386](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:386)     ) and
    [387](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:387)     (
    [388](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:388)         datasets is None or
    [389](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:389)         _match('dataset', datasets)
    [390](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:390)     )
    [391](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:391) )

File [~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:324](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:324), in Evidence.match.<locals>._match(attr, value)
    [320](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:320) def _match(attr, value):
    [322](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:322)     return (
    [323](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:323)         getattr(self.resource, attr) in value
--> [324](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:324)             if isinstance(value, _const.LIST_LIKE) else
    [325](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:325)         getattr(self.resource, attr) == value
    [326](https://vscode-remote+wsl-002bubuntu-002d20-002e04.vscode-resource.vscode-cdn.net/home/nemo/pathways/~/miniforge3/envs/pathways/lib/python3.12/site-packages/pypath/core/evidence.py:326)     )

NameError: name '_const' is not defined

Log file

[2024-04-17 13:02:35] [omnipath.dbmanager] Loaded dataset `curated` from `/home/nemo/.cache/pypath/pickles/network_curated.pickle`.
[2024-04-17 13:02:35] [network] Creating interactions data frame.

Desktop:

  • OS: WSL2
  • Python version: 3.12.3
  • Version or commit hash: v0.16.13
@RicoBorra RicoBorra added the bug Problem in the code label Apr 17, 2024
@josiahbjorgaard
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problem in the code
Projects
None yet
Development

No branches or pull requests

2 participants