Add dynamic modules for importing wrapped Tools and Algorithms
aims to tackle #4 (closed)
where I am unsure is error handling.
I disabled from PyConf.Algorithms import *
Also, it would be nice if we could protect against these import in case its not fully functional/datahandly..
last commit depends on gaudi/Gaudi!929 (merged) and implements the sanity check that no tool is instantiated or imported as algorithm and vice versa, so if the gaudi MR takes longer, we can split this off.
closes #4 (closed) closes #21 (closed) closes #9 (closed) closes #24 (closed) closes #29 (closed)
Edited by Alex Pearce
Merge request reports
Activity
added 1 commit
- b34d7130 - from PyConf.Algorithms import PrPixelTracking
Can one check the type of the algorithm, e.g. ask if it is a
Transformer
?Edited by Sascha Stahlmentioned in issue #21 (closed)
added 1 commit
- e9e66879 - add type check, depends on gaudi/Gaudi!929 (merged)
- Resolved by Niklas Stefan Nolte
You could try defining a
__dir__
method on your module object.
assigned to @apearce
added 1 commit
- 62c987f6 - make small helper functions for is_configurable_algorithm and is_configurable_tool
- Resolved by Niklas Stefan Nolte
Please register or sign in to reply