Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
7793e4a3
Commit
7793e4a3
authored
Oct 11, 2019
by
Jens Kroeger
Browse files
jobsub: auto-generated config file name: add run before runnumber for clarity
parent
9ac76bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
jobsub/jobsub.py
View file @
7793e4a3
...
...
@@ -647,7 +647,7 @@ def main(argv=None):
# Get "jobtask" as basename of the configuration file:
jobtask
=
os
.
path
.
splitext
(
os
.
path
.
basename
(
args
.
conf_file
))[
0
]
# Write the steering file:
basefilename
=
jobtask
+
"_"
+
runnr
+
appendix
basefilename
=
jobtask
+
"_
run
"
+
runnr
+
appendix
log
.
info
(
"basefilename = "
+
basefilename
)
steeringFile
=
open
(
basefilename
+
".conf"
,
"w"
)
...
...
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