Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NPDet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
EIC
NPDet
Commits
dd4c5e85
Commit
dd4c5e85
authored
3 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
Fix warning description
parent
5624f1b8
No related branches found
No related tags found
2 merge requests
!273
Draft: Resolve "Support FastSim and GFlash"
,
!243
Fix warning description
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/sanitize_hepmc3.py
+1
-1
1 addition, 1 deletion
scripts/sanitize_hepmc3.py
with
1 addition
and
1 deletion
scripts/sanitize_hepmc3.py
+
1
−
1
View file @
dd4c5e85
...
@@ -109,7 +109,7 @@ if __name__ == '__main__':
...
@@ -109,7 +109,7 @@ if __name__ == '__main__':
continue
continue
buffer
.
append
(
line
)
buffer
.
append
(
line
)
if
not
end_reached
:
if
not
end_reached
:
warn
(
"
File does end with END_EVENT_LISTING, appending
"
)
warn
(
"
File does
not
end with END_EVENT_LISTING, appending
"
)
buffer
.
append
(
'
HepMC::Asciiv3-END_EVENT_LISTING
\n
'
)
buffer
.
append
(
'
HepMC::Asciiv3-END_EVENT_LISTING
\n
'
)
# final buffer flush at the end
# final buffer flush at the end
flush_buffer
(
header
,
buffer
)
flush_buffer
(
header
,
buffer
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment