Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ILCDIRAC
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CLICdp
iLCDirac
ILCDIRAC
Merge requests
!118
[MergedByHand] Fix stdhepsplit
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
[MergedByHand] Fix stdhepsplit
amiyamot/ILCDIRAC:fix_stdhepsplit
into
Rel-v26r0
Overview
9
Commits
3
Pipelines
2
Changes
2
Closed
Akiya Miyamoto
requested to merge
amiyamot/ILCDIRAC:fix_stdhepsplit
into
Rel-v26r0
7 years ago
Overview
9
Commits
3
Pipelines
2
Changes
1
Expand
Fixed Split_ILD error when splitting generator stdhep files.
0
0
Merge request reports
Compare
version 1
version 1
802c7db2
7 years ago
Rel-v26r0 (base)
and
latest version
latest version
b1cac00c
3 commits,
7 years ago
version 1
802c7db2
2 commits,
7 years ago
Show latest version
1 file
+
4
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Core/Utilities/resolvePathsAndNames.py
+
4
−
5
Options
@@ -49,14 +49,13 @@ def getProdFilenameFromInput( inputfile, outfileOriginal, prodID, jobID ) :
outfile
=
finp
.
convert
(
origitem
[
"
d
"
],
"
file
"
,
inpitem
)
elif
originalOutputBaseName
.
startswith
(
"
E
"
):
inpitem
[
"
d
"
]
=
"
gen
"
if
not
"
n
"
in
origitem
:
if
"
n
"
not
in
origitem
:
inpitem
[
"
n
"
]
=
"
001
"
else
:
seqstr
=
origitem
[
"
n
"
].
split
(
"
_
"
)
if
len
(
seqstr
)
>
1
:
# Add sub-sequence number if found in the outfileOriginal
inpitem
[
"
n
"
]
=
"
_
"
.
join
([
inpitem
[
"
n
"
]]
+
seqstr
[
1
:])
else
:
if
"
_
"
not
in
origitem
[
"
n
"
]:
inpitem
[
"
n
"
]
=
origitem
[
"
n
"
]
else
:
inpitem
[
"
n
"
]
+=
"
_
"
+
origitem
[
"
n
"
].
split
(
"
_
"
,
1
)[
1
]
inpitem
[
"
t
"
]
=
str
(
prodID
).
zfill
(
8
)
inpitem
[
"
j
"
]
=
str
(
jobID
)
outfile
=
finp
.
convert
(
"
gen
"
,
"
file
"
,
inpitem
)
Loading