Commit be9d4b8c authored by David Blyth's avatar David Blyth
Browse files

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

parent 3655fe89
......@@ -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()
......
Supports Markdown
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