nadeemlab / SPT

Spatial profiling toolbox for spatial characterization of tumor immune microenvironment in multiplex images
https://oncopathtk.org
Other
21 stars 2 forks source link

Reduce CLI command setup time #229

Closed jimmymathews closed 1 year ago

jimmymathews commented 1 year ago

I noticed that many of the CLI commands are importing external libraries even just to report help text, sometimes taking 10 seconds or more to do so as a result.

At some point there was a pattern implemented to prevent this. For this issue, ensure that such a pattern is implemented across all spt scripts.

jimmymathews commented 1 year ago

The main problem was a package tree walk to discover submodule names. I replaced this with hard-coded list.