Commit d18447b9 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

sanitize_hepmc3.py: Sartre produces 'T' lines, also 'N' lines are valid

parent 7bf079e8
Pipeline #24959 passed with stages
in 54 seconds
......@@ -93,7 +93,7 @@ if __name__ == '__main__':
elif 'HepMC::Asciiv3-END_EVENT_LISTING\n' == line:
end_reached = True
buffer.append(line)
elif line[0] in ['A','W']:
elif line[0] in ['A','W','T','N']:
buffer.append(line)
elif line[0] == 'E':
flush_buffer(header, buffer)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment