mctools / ncrystal

NCrystal : a library for thermal neutron transport in crystals and other materials
https://mctools.github.io/ncrystal/
Other
38 stars 17 forks source link

vdos2ncmat should have a nicer error in case of missing numpy #181

Open tkittel opened 1 month ago

tkittel commented 1 month ago
ncrystal_vdos2ncmat --help
Traceback (most recent call last):
  File "/home/runner/work/ncrystal/ncrystal/install/bin/ncrystal_vdos2ncmat", line 85, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'