summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChris Green <greenc@fnal.gov>2019-02-13 23:17:46 -0600
committerPatrick Gartung <gartung@fnal.gov>2019-02-13 23:17:46 -0600
commit051c66335fd7a3a300c0a043ce5a13139a5b0785 (patch)
treee9ab5018a3937db56bc04bff5034d2ac20cd58be /var
parent24d7f0f0afc4a133f0b840404620e291163a0333 (diff)
downloadspack-051c66335fd7a3a300c0a043ce5a13139a5b0785.tar.gz
spack-051c66335fd7a3a300c0a043ce5a13139a5b0785.tar.bz2
spack-051c66335fd7a3a300c0a043ce5a13139a5b0785.tar.xz
spack-051c66335fd7a3a300c0a043ce5a13139a5b0785.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pythia6/package.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/pythia6/package.py b/var/spack/repos/builtin/packages/pythia6/package.py
index 6c282ee95c..cfb9313cfc 100644
--- a/var/spack/repos/builtin/packages/pythia6/package.py
+++ b/var/spack/repos/builtin/packages/pythia6/package.py
@@ -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,