Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions seedlink_plotter/seedlink_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,17 @@ def main():
# parse the arguments
args = parser.parse_args()

# Check x_scale and backtrace_time in drum plot mode
if not args.line_plot and (args.backtrace_time % (args.x_scale*60)):
print"Backtrace_time should be a multiple of x_scale (default 60m)"
print "Aborting."
sys.exit()
if not args.line_plot and (args.backtrace_time % (args.x_scale*60)):
print"Backtrace_time should be a multiple of x_scale (default 60m)"
print "Aborting."
sys.exit()


if args.verbose:
loglevel = logging.DEBUG
else:
Expand Down