Skip to content
Snippets Groups Projects

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

Merged David Blyth requested to merge sieic_vis into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -3,6 +3,7 @@
@@ -3,6 +3,7 @@
import argparse
import argparse
from array import array
from array import array
import math
import math
 
from os.path import basename
def run(args):
def run(args):
import ROOT, DDG4
import ROOT, DDG4
@@ -43,7 +44,7 @@ def run(args):
@@ -43,7 +44,7 @@ def run(args):
marker.Draw('same')
marker.Draw('same')
for line in lines:
for line in lines:
line.Draw('same')
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()
viewer.UpdateScene()
Loading