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
When I run (locally) the tests for the aiida-common-workflows, I get this:
_______________________________________ ERROR collecting tests/workflows/relax/test_castep.py ________________________________________
ImportError while importing test module '/Users/pizzi/git/aiida-common-workflows/tests/workflows/relax/test_castep.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/workflows/relax/test_castep.py:11: in <module>
from aiida_castep.data.otfg import OTFGGroup
../../.virtualenvs/aiida-dev/lib/python3.8/site-packages/aiida_castep/data/__init__.py:8: in <module>
from .otfg import OTFGData
../../.virtualenvs/aiida-dev/lib/python3.8/site-packages/aiida_castep/data/otfg.py:11: in <module>
from .usp import UspData
../../.virtualenvs/aiida-dev/lib/python3.8/site-packages/aiida_castep/data/usp.py:9: in <module>
from aiida.orm import GroupTypeString
E ImportError: cannot import name 'GroupTypeString' from 'aiida.orm' (/Users/pizzi/git/aiida-core/aiida/orm/__init__.py)
that seems to come from your code.
Can you please fix it (if not done already)?
(AiiDA version 1.6.2, aiida-castep==1.2.0a5)
The text was updated successfully, but these errors were encountered:
Woops. Thanks for the report. That was some very old import state for aiida-core1.0b compatibility.... I have now removed it on the dev branch and it should work. Probably need to make a new release at some point.
When I run (locally) the tests for the aiida-common-workflows, I get this:
that seems to come from your code.
Can you please fix it (if not done already)?
(AiiDA version 1.6.2, aiida-castep==1.2.0a5)
The text was updated successfully, but these errors were encountered: