Skip to content

Commit 20a2355

Browse files
committed
fixed figure file postfix
1 parent 36bd6a4 commit 20a2355

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

obstools/atacr/classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def QC_daily_spectra(self, pd=[0.004, 0.2], tol=1.5, alpha=0.05,
606606

607607
# Save or show figure
608608
if save:
609-
fname = self.key + '.' + self.tkey + '.' + 'QC' + form
609+
fname = self.key + '.' + self.tkey + '.' + 'QC.' + form
610610
if isinstance(save, Path):
611611
fname = save / fname
612612
plot.savefig(

obstools/scripts/atacr_correct_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def main(args=None):
352352
evla = trZ.stats.sac.evla
353353

354354
if args.fig_event_raw:
355-
fname = stkey + '.' + eventstream.tstamp + 'raw'
355+
fname = stkey + '.' + eventstream.tstamp + '.raw'
356356
plot = plotting.fig_event_raw(
357357
eventstream,
358358
fmin=args.fmin, fmax=args.fmax)

0 commit comments

Comments
 (0)