oops forgor to check values object
This commit is contained in:
parent
8bc3206d0c
commit
e6903cd188
|
@ -88,7 +88,7 @@ def addBurst(values):
|
|||
spectra = filterbankObj.get_data(0, samples)
|
||||
|
||||
#save pre-injection spectra plot
|
||||
if not skipplot:
|
||||
if not values.skipplot:
|
||||
show_dynamic(spectra, f"{basename} Pre-injection Dynamic Spectra", save=True)
|
||||
|
||||
#get bandpass and store in bpWeights
|
||||
|
@ -123,7 +123,7 @@ def addBurst(values):
|
|||
)
|
||||
|
||||
#and save the new plot
|
||||
if not skipplot:
|
||||
if not values.skipplot:
|
||||
logger.info("Saving plot...")
|
||||
show_dynamic(injectedSpectra, f"{basename} Dynamic Spectra and {values.dm} DM Pulse", save=True)
|
||||
#now generate new filterbank file
|
||||
|
|
Loading…
Reference in a new issue