You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the version after refactoring (__version__== '0.1.6.dev13+gc4a163d') the command start_dqm.py doesn't work.
To Reproduce
Steps to reproduce the behavior:
activate the nectarchain dev env
try e.g. python ../nectarchain/src//nectarchain/dqm/start_dqm.py -r 4332 $NECTARCAMDATA $NECTARCAMDATA
get error: File "/scr/punch/CTA/NectarCAM_muons/../nectarchain/src//nectarchain/dqm/start_dqm.py", line 53, in <module> from nectarchain.data.container import utils ImportError: cannot import name 'utils' from 'nectarchain.data.container' (/scr/punch/CTA/nectarchain/src/nectarchain/data/container/__init__.py)
Then, start ipython
from nectarchain.data.container import utils
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[9], line 1
----> 1 from nectarchain.data.container import utils
ImportError: cannot import name 'utils' from 'nectarchain.data.container' (/scr/punch/CTA/nectarchain/src/nectarchain/data/container/__init__.py)
... panic ...
Expected behavior
Expect container to be imported correctly
Supporting information
Additional context @jlenain guesses that this is due to the major refactoring effort.
The text was updated successfully, but these errors were encountered:
Hi @mdpunch ,
Thanks for reporting this!
This is not related to the DQM directly, but on the automatic mechanism to download data from DIRAC, which was in nectarchain.data.container.utils and has been moved into nectarchain.data.management following the code refactoring from #78 and #82 . We'll fix this asap.
Describe the bug
In the version after refactoring (
__version__== '0.1.6.dev13+gc4a163d'
) the commandstart_dqm.py
doesn't work.To Reproduce
Steps to reproduce the behavior:
python ../nectarchain/src//nectarchain/dqm/start_dqm.py -r 4332 $NECTARCAMDATA $NECTARCAMDATA
File "/scr/punch/CTA/NectarCAM_muons/../nectarchain/src//nectarchain/dqm/start_dqm.py", line 53, in <module> from nectarchain.data.container import utils ImportError: cannot import name 'utils' from 'nectarchain.data.container' (/scr/punch/CTA/nectarchain/src/nectarchain/data/container/__init__.py)
ipython
Expected behavior
Expect container to be imported correctly
Supporting information
Additional context
@jlenain guesses that this is due to the major refactoring effort.
The text was updated successfully, but these errors were encountered: