Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail with paramak:dependencies #838

Open
RemDelaporteMathurin opened this issue May 10, 2021 · 2 comments
Open

Tests fail with paramak:dependencies #838

RemDelaporteMathurin opened this issue May 10, 2021 · 2 comments

Comments

@RemDelaporteMathurin
Copy link

When running a container on ukaea/paramak:dependencies, running pytest tests/test_Shape.py fails:

_________________________________________ ERROR collecting tests/test_Shape.py _________________________________________
ImportError while importing test module '/home/shared/tests/test_Shape.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/conda/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_Shape.py:8: in <module>
    import paramak
paramak/__init__.py:1: in <module>
    from .shape import Shape
paramak/shape.py:16: in <module>
    from paramak.neutronics_utils import (add_stl_to_moab_core,
paramak/neutronics_utils.py:15: in <module>
    from remove_dagmc_tags import remove_tags
E   ModuleNotFoundError: No module named 'remove_dagmc_tags'

Is it possible that this dependencies image is out of date or missing some dependencies?

@RemDelaporteMathurin
Copy link
Author

@shimwell It seems "remove_dagmc_tags" is not in the requirements.txt

@shimwell
Copy link
Collaborator

Thanks Remi. This is quite a new package and is part of the process for removing neutronics. I must have forgotten to put it in to the requirements.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants