ncrystal-python 4.0.2__py3-none-any.whl → 4.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
NCrystal/__init__.py CHANGED
@@ -55,7 +55,7 @@ For detailed usage conditions and licensing of this open source project, see:
55
55
 
56
56
  #NB: Synchronize meta-data below with fields in setup.py+template_setup.py.in meta data:
57
57
  __license__ = "Apache 2.0, http://www.apache.org/licenses/LICENSE-2.0"
58
- __version__ = '4.0.2'
58
+ __version__ = '4.1.2'
59
59
  __status__ = "Production"
60
60
  __author__ = "NCrystal developers (Thomas Kittelmann, Xiao Xiao Cai)"
61
61
  __copyright__ = "Copyright 2015-2024 %s"%__author__
NCrystal/_locatelib.py CHANGED
@@ -200,8 +200,12 @@ def _search_core_info_mod( is_monolithic ):
200
200
  def _search_nccfgapp( cmdname ):
201
201
  #Try to query ncrystal-config script:
202
202
  import subprocess
203
- res = subprocess.run([cmdname,'--show','shlibpath','namespace','version'],
204
- capture_output=True)
203
+ try:
204
+ res = subprocess.run([cmdname,'--show','shlibpath','namespace','version'],
205
+ capture_output=True)
206
+ except FileNotFoundError:
207
+ return None
208
+
205
209
  if res.returncode == 0:
206
210
  lines = res.stdout.decode('utf8').splitlines()
207
211
  if len(lines) == 3:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ncrystal-python
3
- Version: 4.0.2
3
+ Version: 4.1.2
4
4
  Summary: Library for thermal neutron transport in crystals and other materials.
5
5
  Author: NCrystal developers (Thomas Kittelmann, Xiao Xiao Cai)
6
6
  License: The Apache 2.0 license is reproduced in the following. See the NOTICE file for
@@ -1,4 +1,4 @@
1
- NCrystal/__init__.py,sha256=Fm5bSI5_ExO4eoTB4LuJZNatE_LtUc989mLsTW28xkM,4155
1
+ NCrystal/__init__.py,sha256=SdXuhImGKGAHMI76_W3bvw6GuItw9CMpcDpKmlyo5SA,4155
2
2
  NCrystal/__main__.py,sha256=tYOeVhY6joHahgtnBwNgcBDd-WXYQoHFmpslk2TAlTY,3624
3
3
  NCrystal/_chooks.py,sha256=GtA8IkVIIJmrT-KtLKRJctgmBYs3pkfi4JNY0jfS7bc,43273
4
4
  NCrystal/_cli_cif2ncmat.py,sha256=Hmp8MWV7d3Bzu_5Ekiik9Pdv43yNyZygun8HtqShn78,14626
@@ -17,7 +17,7 @@ NCrystal/_coreimpl.py,sha256=dWBPwbdb8l8Bi3wfDaaQVyqSqTQzwDfs1oEIJR9KTiQ,5727
17
17
  NCrystal/_hfgdata.py,sha256=uYTB_xHTHVN8Vw91wr7_kXi18ileHJGNyVjnSi-Ss7g,62828
18
18
  NCrystal/_hklobjects.py,sha256=wQAUe3tD6UncSW-qfuyAh5jSGnA_2kzvE5-HZ43s3xQ,4974
19
19
  NCrystal/_is_std.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- NCrystal/_locatelib.py,sha256=xH26jONCgYB7VIRwoyBap6EzviIPKvj2qBdwjA5QIhU,9436
20
+ NCrystal/_locatelib.py,sha256=VCzJQEyOZfOonzah3wTyLndaO8XZRYZmA5oES9xptpI,9504
21
21
  NCrystal/_miscimpl.py,sha256=Br30Qk2KwZ5e762_hDqx538zyVBh59fX4U9bDkYl908,16549
22
22
  NCrystal/_mmc.py,sha256=FiavyAkRDb3MZ222AHXbmQpBQLwqBdzxtDCMunnKfRI,29349
23
23
  NCrystal/_msg.py,sha256=wBJk0kGHusm0xXSt8KNYq6iIO_cubnznvnJ5Erl87EU,2624
@@ -45,9 +45,9 @@ NCrystal/plot.py,sha256=Ack-OdgclwIGP-5nOlsoRP5enYaxUeIuT3zDKYtiKT4,19959
45
45
  NCrystal/plugins.py,sha256=U4EF25DlYE8aO6uoG5Ptyia5Nj08LCrVl7973BCIkDI,2440
46
46
  NCrystal/test.py,sha256=-BdnSN8lqwUallf6Q4UL35Rm_eA3BHG_V3-BdvDbkJQ,3310
47
47
  NCrystal/vdos.py,sha256=O6cQy70glPV5D94ssnHW5MuC4WO7OnqqKjDu3-MW4Q4,46763
48
- ncrystal_python-4.0.2.dist-info/LICENSE,sha256=cSwpZfFyXSC1mBPZgO2TbtGwoH2tR1SomMa5tEUU9o0,11509
49
- ncrystal_python-4.0.2.dist-info/METADATA,sha256=DwC4RZBf6D6a6w-z1eE7inqOenzuWO2HO5yd02aetUs,27566
50
- ncrystal_python-4.0.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
51
- ncrystal_python-4.0.2.dist-info/entry_points.txt,sha256=JoeikOrVDenZuTEmdgeGAfHw_CsujEJPIGl3BP_tcKQ,469
52
- ncrystal_python-4.0.2.dist-info/top_level.txt,sha256=VIJdIQMfLIbKpFXA8xm0fKY5okz8s5IHrZTYDSH18y0,9
53
- ncrystal_python-4.0.2.dist-info/RECORD,,
48
+ ncrystal_python-4.1.2.dist-info/LICENSE,sha256=cSwpZfFyXSC1mBPZgO2TbtGwoH2tR1SomMa5tEUU9o0,11509
49
+ ncrystal_python-4.1.2.dist-info/METADATA,sha256=-Ckgn4NTpVOS9seo52NCjw9Hie2ZK3op6UndG8UdxNM,27566
50
+ ncrystal_python-4.1.2.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
51
+ ncrystal_python-4.1.2.dist-info/entry_points.txt,sha256=JoeikOrVDenZuTEmdgeGAfHw_CsujEJPIGl3BP_tcKQ,469
52
+ ncrystal_python-4.1.2.dist-info/top_level.txt,sha256=VIJdIQMfLIbKpFXA8xm0fKY5okz8s5IHrZTYDSH18y0,9
53
+ ncrystal_python-4.1.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (75.8.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5