Scripts.DatabankLib.utils module

Scripts.DatabankLib.utils.run_analysis(method: Callable, logger: Logger, id_range=(None, None))[source]

Apply analysis method to the entire databank.

Parameters:
  • method – (Callable) will be called as fun(system, logger)

  • logger – (Logger) reference to Logger initialized by the top script

  • id_range – (A,B) filter for systems to analyze, default is (None, None) which means all systems. Can be also (None, -1) which means all new systems, or (0, None) which means all old systems.

Returns:

None