Skip to content

Prevent nabu.app from importing too many modules at startup

Pierre Paleo requested to merge fix_433_b into master

About

This MR changes the imports so that importing cli_configs.py does not import the whole world.

close #431 (closed), #433 (closed)

To do

  • Fix imports

Future work

in cli_configs.py the line from tomoscan.framereducerbase import ReduceMethod will do from tomoscan.scanbase import TomoScanBase, which is a 1800-lines of code file importing tens of modules.

The file cli_configs.py is supposed to be a declarative definition of parameters, it should not import too many things.

Edited by Pierre Paleo

Merge request reports