Skip to content

Commit 6b3bcfb

Browse files
comments added
1 parent d7e46ed commit 6b3bcfb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

smodels/tools/pythia8Wrapper.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,13 @@ def run(self, slhaFile, lhefile=None, unlink=True):
175175
176176
"""
177177
if True:
178+
## this has been introduced to fix a very sick error on lxplus
179+
## machines where fortran code cannot deal with slha file paths
180+
## that reside in /afs/cern.ch/work. God knows why.
181+
## there is already anyhow a temp directory, so it's no biggie,
182+
## but we could have this bit triggered only when a certain
183+
## condition is met, e.g. len(slhaFile)>min_length or
184+
## "cern.ch/work" in slhaFile or ...
178185
import tempfile
179186
tempf = tempfile.mktemp( dir=self.tempDirectory(),
180187
suffix=".slha",prefix="p8w_" )

0 commit comments

Comments
 (0)