Skip to content
Snippets Groups Projects
Commit 59a44850 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-717: added option create_output_dataproducts

parent 38c6dd3a
No related branches found
No related tags found
1 merge request!447TMSS-717: merge commissioning fixes back to master
......@@ -893,6 +893,7 @@ def main_scheduling_unit_blueprint_simulator():
group.add_option('-e', '--event_delay', dest='event_delay', type='float', default=1.0, help='wait <event_delay> seconds between simulating events to mimic real-world behaviour, default: %default')
group.add_option('-d', '--duration', dest='duration', type='float', default=60.0, help='wait <duration> seconds while "observing"/"processing" between started and finishing state to mimic real-world behaviour, default: %default')
group.add_option('-g', '--grant_ingest_permission', dest='grant_ingest_permission', action='store_true', help='automatically grant ingest permission for ingest subtasks if needed')
group.add_option('-f', '--create_output_dataproducts', dest='create_output_dataproducts', action='store_true', help='create small fake output dataproduct files for the observation and pipeline subtask(s)')
group = OptionGroup(parser, 'Messaging options')
parser.add_option_group(group)
......@@ -926,6 +927,7 @@ def main_scheduling_unit_blueprint_simulator():
handle_observations=bool(options.observation), handle_pipelines=bool(options.pipeline),
handle_QA=bool(options.QA), handle_ingest=bool(options.ingest), handle_cleanup=bool(options.cleanup),
auto_grant_ingest_permission=bool(options.grant_ingest_permission),
create_output_dataproducts=bool(options.create_output_dataproducts),
exchange=options.exchange, broker=options.broker):
print("Press Ctrl-C to exit")
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