pythia6: fix input verification issue and example data checksum. (#10563)
* pythia6: fix issue validating integer input. * pythia6: account for apparent update of example data file.
This commit is contained in:
parent
24d7f0f0af
commit
051c66335f
1 changed files with 2 additions and 3 deletions
|
@ -14,8 +14,7 @@ def _is_integral(x):
|
|||
"""Accepts only integral values."""
|
||||
try:
|
||||
return isinstance(int(x), numbers.Integral) and \
|
||||
(not isinstance(x, bool)) and \
|
||||
int(x) == x
|
||||
(not isinstance(x, bool))
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
|
@ -100,7 +99,7 @@ class Pythia6(CMakePackage):
|
|||
'main81.f':
|
||||
'b02fecd1cd0f9ba16eaae53e9da0ba602569fdf0e46856cccdfb4c5b7ba33e8b',
|
||||
'ttbar.lhe':
|
||||
'fb0d43175cc392b19c2b6633dcf673d0b56229b60bec92df4aa782c7196b149c'}
|
||||
'db772b69ab4e0300d973b57414523ac8e7fa8535eac49ee52a6b69b1c131983d'}
|
||||
|
||||
for example, checksum in iteritems(examples):
|
||||
resource(name=example,
|
||||
|
|
Loading…
Reference in a new issue