Skip to content

Commit

Permalink
restored lazy loading in _node
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Jul 4, 2024
1 parent 2e1c30e commit 8b49569
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions networkcommons/noi/_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,16 @@

import lazy_import
import pypath_common._misc as _common
_uniprot = lazy_import.lazy_module('pypath.inputs.uniprot')
_uniprot_db = lazy_import.lazy_module('pypath.inputs.uniprot_db')
_taxonomy = lazy_import.lazy_module('pypath.utils.taxonomy')
_mapping = lazy_import.lazy_module('pypath.utils.mapping')
_orthology = lazy_import.lazy_module('pypath.utils.orthology')
# _uniprot = lazy_import.lazy_module('pypath.inputs.uniprot')
# _uniprot_db = lazy_import.lazy_module('pypath.inputs.uniprot_db')
# _taxonomy = lazy_import.lazy_module('pypath.utils.taxonomy')
# _mapping = lazy_import.lazy_module('pypath.utils.mapping')
# _orthology = lazy_import.lazy_module('pypath.utils.orthology')
import pypath.inputs.uniprot as _uniprot
import pypath.inputs.uniprot_db as _uniprot_db
import pypath.utils.taxonomy as _taxonomy
import pypath.utils.mapping as _mapping
import pypath.utils.orthology as _orthology

_REENS = re.compile(r'ENS[A-Z]*?([A-Z])[0-9]+')
_RERSQ = re.compile(
Expand Down

0 comments on commit 8b49569

Please sign in to comment.