ncrystal-python 4.4.2__py3-none-any.whl → 4.4.4__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.4.2'
58
+ __version__ = '4.4.4'
59
59
  __status__ = "Production"
60
60
  __author__ = "NCrystal developers (Thomas Kittelmann, Xiao Xiao Cai)"
61
61
  __copyright__ = "Copyright 2015-2024 %s"%__author__
NCrystal/_cliimpl.py CHANGED
@@ -80,8 +80,8 @@ def create_ArgumentParser( *args, **kwargs ):
80
80
  f(parser)
81
81
 
82
82
  thepyversion = _pyversion()
83
- if thepyversion < (3,13) and hasattr(parser,'_check_value'):
84
- #Monkey patch object to have same _check_value as in 3.13
83
+ if thepyversion < (3,14) and hasattr(parser,'_check_value'):
84
+ #Monkey patch object to have same _check_value as in 3.14
85
85
  def _check_value( action, value):
86
86
  # converted value must be one of the choices (if specified)
87
87
  choices = action.choices
@@ -90,7 +90,8 @@ def create_ArgumentParser( *args, **kwargs ):
90
90
  choices = iter(choices)
91
91
  if value not in choices:
92
92
  args = {'value': str(value),
93
- 'choices': ', '.join(map(str, action.choices))}
93
+ 'choices': ', '.join(repr(str(choice))
94
+ for choice in action.choices)}
94
95
  from gettext import gettext as _
95
96
  msg = _('invalid choice: %(value)r'
96
97
  ' (choose from %(choices)s)')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ncrystal-python
3
- Version: 4.4.2
3
+ Version: 4.4.4
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:
@@ -1,4 +1,4 @@
1
- NCrystal/__init__.py,sha256=htyIyHBS9XLj1d08xe5vtLBzjbd48UEpK1spbkBZ0TA,4151
1
+ NCrystal/__init__.py,sha256=YKxRrxhOyeKGk27SeCYjh8nGTSXLVOwOSNG9SDEDlug,4151
2
2
  NCrystal/__main__.py,sha256=oYk085KH-byQDyHDFiJ9eI_h5tvwN8yJ8CgjIqZSpbw,3624
3
3
  NCrystal/_chooks.py,sha256=ntNys5hOUYgKwq95J8ny-EUMKf5PF35SKuAvPMoLiaw,45242
4
4
  NCrystal/_cli_cif2ncmat.py,sha256=YaCHkN5qTQsRtftmayv-QQBnvjZ2x1Rs6F_LHJ6qZCw,14787
@@ -14,7 +14,7 @@ NCrystal/_cli_query.py,sha256=5q_ROJ7bf5LA_G9ruaU5TFipbuGoqaRdSCZ4b9jBW4E,4406
14
14
  NCrystal/_cli_vdos2ncmat.py,sha256=RQpm3WPZRZxP14G6n0awwKrotZfj7gffSxgwYON0mVg,20487
15
15
  NCrystal/_cli_verifyatompos.py,sha256=jMtFqRMsJP8XBSSE-Raulobtf6LJeJO6f_fn5F4yGHM,12523
16
16
  NCrystal/_clientry.py,sha256=NQTIbqdqDYu1jEoS0m-n64BHY7wqm1eMdQ9QlP7_c-w,5534
17
- NCrystal/_cliimpl.py,sha256=_vmr0hY_103f4BMGm2GI7M4v75YNpd9wQ9fzl5AKL8w,13723
17
+ NCrystal/_cliimpl.py,sha256=N3i64-yxyWisdf2_ZGJWpD82y8Qput3_Y5mdiVZ7chk,13794
18
18
  NCrystal/_cliwrap_config.py,sha256=1iaQnX3d1zba7Pn4xKA7IVzlLIi2wCOuJrQz6zeKCkg,2407
19
19
  NCrystal/_common.py,sha256=HO5lDLSfLWwe6i_Qhj6tBtjW_DRIZRycckuQs6arEDY,23417
20
20
  NCrystal/_coreimpl.py,sha256=YxN60FWjOXbA2UbBBfgSDhUeaqED10Gkbr93x5lAQjw,5353
@@ -57,9 +57,9 @@ NCrystal/plot.py,sha256=zndm1GT5VBVyKHHEVyJoccnfuGkHDRvs2PsblxGUEK4,28473
57
57
  NCrystal/plugins.py,sha256=jdyNHHjS6qJtisy1tqeWBidCSX1UX797hQFNEmqN50Y,2440
58
58
  NCrystal/test.py,sha256=ogLLfvXoTR_KiX0SWAFkqXSUDAzlgH_0cDPIVdqU2y8,2731
59
59
  NCrystal/vdos.py,sha256=PzP0abjpj9vW1JWSh-qY0_LSYSTwRXVvYrnkQOa9IfQ,47332
60
- ncrystal_python-4.4.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
61
- ncrystal_python-4.4.2.dist-info/METADATA,sha256=y3CLiC7F2KhZu3A8w1yoWcUcZLB7loPlnv7E_02zl7Q,16274
62
- ncrystal_python-4.4.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
63
- ncrystal_python-4.4.2.dist-info/entry_points.txt,sha256=GPVTPLWJz1NCRMTEA0SjBrn8d-o0G57uzz885qA54Uc,642
64
- ncrystal_python-4.4.2.dist-info/top_level.txt,sha256=VIJdIQMfLIbKpFXA8xm0fKY5okz8s5IHrZTYDSH18y0,9
65
- ncrystal_python-4.4.2.dist-info/RECORD,,
60
+ ncrystal_python-4.4.4.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
61
+ ncrystal_python-4.4.4.dist-info/METADATA,sha256=GGhZqEl5uIeK_QM6CVuJmlxxNZJN-tyQ88_kXGLmDkw,16274
62
+ ncrystal_python-4.4.4.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
63
+ ncrystal_python-4.4.4.dist-info/entry_points.txt,sha256=GPVTPLWJz1NCRMTEA0SjBrn8d-o0G57uzz885qA54Uc,642
64
+ ncrystal_python-4.4.4.dist-info/top_level.txt,sha256=VIJdIQMfLIbKpFXA8xm0fKY5okz8s5IHrZTYDSH18y0,9
65
+ ncrystal_python-4.4.4.dist-info/RECORD,,