Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
253e79aa
Commit
253e79aa
authored
Sep 08, 2021
by
Ewelina Maria Lobodzinska
Browse files
TestLHE commented out for now
parent
1a09740c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Generators/EvgenJobTransforms/share/skel.GENtoEVGEN.py
View file @
253e79aa
...
...
@@ -213,11 +213,12 @@ def OutputTXTFile():
## Main job option include
## Only permit one jobConfig argument for evgen: does more than one _ever_ make sense?
if
hasattr
(
runArgs
,
"inputGeneratorFile"
)
or
hasattr
(
runArgs
,
"outputTXTFile"
)
or
os
.
path
.
isfile
(
"events.lhe"
)
:
from
EvgenProdTools.EvgenProdToolsConf
import
TestLHE
if
not
hasattr
(
genSeq
,
"TestLHE"
):
genSeq
+=
TestLHE
()
print
"lheFile events.lhe exists in current directory. Will execute TestLHE checks"
#commenting out for now
#if hasattr(runArgs, "inputGeneratorFile") or hasattr(runArgs, "outputTXTFile") or os.path.isfile("events.lhe") :
# from EvgenProdTools.EvgenProdToolsConf import TestLHE
# if not hasattr(genSeq, "TestLHE"):
# genSeq += TestLHE()
# print "lheFile events.lhe exists in current directory. Will execute TestLHE checks"
if
len
(
runArgs
.
jobConfig
)
!=
1
:
print
"INFO runArgs.jobConfig = "
,
runArgs
.
jobConfig
...
...
Generators/EvgenJobTransforms/share/skel.GENtoTXT.py
View file @
253e79aa
...
...
@@ -160,10 +160,11 @@ if hasattr(runArgs,"inputGeneratorFile") and ',' not in runArgs.inputGeneratorFi
if
hasattr
(
runArgs
,
"inputGeneratorFile"
)
and
','
in
runArgs
.
inputGeneratorFile
:
multiInput
=
runArgs
.
inputGeneratorFile
.
count
(
','
)
+
1
if
hasattr
(
runArgs
,
"outputTXTFile"
)
or
hasattr
(
runArgs
,
"inputGeneratorFile"
):
from
EvgenProdTools.EvgenProdToolsConf
import
TestLHE
if
not
hasattr
(
genSeq
,
"TestLHE"
):
genSeq
+=
TestLHE
()
#comment out for now
#if hasattr(runArgs, "outputTXTFile") or hasattr(runArgs, "inputGeneratorFile"):
# from EvgenProdTools.EvgenProdToolsConf import TestLHE
# if not hasattr(genSeq, "TestLHE"):
# genSeq += TestLHE()
# Main job option include
# Only permit one jobConfig argument for evgen: does more than one _ever_ make sense?
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment