Skip to content
Snippets Groups Projects
Commit 74415480 authored by Colm Talbot's avatar Colm Talbot
Browse files

Merge branch 'remove-detectors-from-cli' into 'master'

Remomve the detectors from the CLI

See merge request Monash/tupak!163
parents d7c8c7bd 4fd2de86
No related branches found
No related tags found
1 merge request!163Remomve the detectors from the CLI
Pipeline #29634 passed
......@@ -435,10 +435,6 @@ def set_up_command_line_arguments():
help="Force clean data, never use cached data")
parser.add_argument("-u", "--use-cached", action="store_true",
help="Force cached data and do not check its validity")
parser.add_argument("-d", "--detectors", nargs='+',
default=['H1', 'L1', 'V1'],
help=("List of detectors to use in open data calls, "
"e.g. -d H1 L1 for H1 and L1"))
parser.add_argument("-t", "--test", action="store_true",
help=("Used for testing only: don't run full PE, but"
" just check nothing breaks"))
......
......@@ -2023,10 +2023,7 @@ def get_event_data(
interferometers = []
if interferometer_names is None:
if utils.command_line_args.detectors:
interferometer_names = utils.command_line_args.detectors
else:
interferometer_names = ['H1', 'L1', 'V1']
interferometer_names = ['H1', 'L1', 'V1']
for name in interferometer_names:
try:
......
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