File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252from isatools .convert import (
5353 magetab2json as magetab2json_module ,
5454)
55- from isatools .convert import (
56- mzml2isa as mzml2isa_module ,
57- )
5855from isatools .convert import (
5956 sampletab2isatab as sampletab2isatab_module ,
6057)
9693json2sra = json2sra_module
9794magetab2isatab = magetab2isatab_module
9895magetab2json = magetab2json_module
99- mzml2isa = mzml2isa_module
10096sampletab2isatab = sampletab2isatab_module
10197sampletab2json = sampletab2json_module
10298
110106
111107# isatools.utils packages
112108detect_graph_process_pooling = detect_graph_process_pooling_module
109+
110+
111+ def __getattr__ (name ):
112+ if name == "mzml2isa" :
113+ # Lazy import to avoid pulling optional deps (fs/pkg_resources) at package import time.
114+ from importlib import import_module
115+
116+ module = import_module ("isatools.convert.mzml2isa" )
117+ globals ()[name ] = module
118+ return module
119+ raise AttributeError (f"module { __name__ !r} has no attribute { name !r} " )
You can’t perform that action at this time.
0 commit comments