Closed StevenCTimm closed 3 months ago
This is because none of the files in the custom directory were linked as "init.py" . I should catch that and have it give a better error message.
This is implemented in #14, at least, we give a more specific error message.
(base) [np04data@protodune-declad-np02 product]$ python3 declad.py -d -c config.yaml -p declad.pid Traceback (most recent call last): File "/home/np04data/declad/declad_2.0.3/declad.py", line 3, in
from mover import Manager
File "/home/np04data/declad/declad_2.0.3/mover.py", line 11, in
from custom import metacat_metadata, sam_metadata, get_file_scope, get_dataset_scope, metacat_dataset
ImportError: cannot import name 'metacat_metadata' from 'custom' (unknown location)
Also-- even if it can find the custom location not all of those 5 modules are in there.
I believe this may be a mu2e-specific modification which broke dune in an unexpected way.