Skip to content
Snippets Groups Projects
Commit eef41c3e authored by Kipp Cannon's avatar Kipp Cannon
Browse files

create_prior_diststats: add a couple of FIXMEs

- to remind me to update for the < 2 instruments case
parent fa2f2e0c
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,7 @@ def parse_command_line():
process_params = dict(options.__dict__)
options.instrument = set(options.instrument)
# FIXME: reduce min to 1
if not options.instrument or len(options.instrument) < 2:
raise ValueError("must specify at least two distinct --instrument's")
......
......@@ -91,6 +91,7 @@ def parse_command_line():
seglistdict, horizon_history = parse_segment_and_horizon(options)
options.instruments = frozenset(seglistdict)
# FIXME: generalize to < 2
if len(options.instruments) < 2:
raise ValueError("must specify at least two distinct instrument")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment