Skip to content
Snippets Groups Projects
Commit ba35390c authored by David Blyth's avatar David Blyth
Browse files

Merge branch 'sieic_vis' into 'master'

SiEIC Concept: sieic_vis: fixed bug with output plot file name

See merge request !19
parents 515aa214 be9d4b8c
Branches
Tags
1 merge request!19SiEIC Concept: sieic_vis: fixed bug with output plot file name
......@@ -3,6 +3,7 @@
import argparse
from array import array
import math
from os.path import basename
def run(args):
import ROOT, DDG4
......@@ -43,7 +44,7 @@ def run(args):
marker.Draw('same')
for line in lines:
line.Draw('same')
args.output_prefix += '_' + args.input_file + '_' + str(args.input_event)
args.output_prefix += '_' + basename(args.input_file) + '_' + str(args.input_event)
viewer.UpdateScene()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment