@@ -84,7 +84,7 @@ def qc_report_content(config):
8484
8585#then at some point we need to update the treefile with these display names using jclusterfunk
8686
87- def parse_global_report_options (report_content ,report_preset ,report_column , anonymise ,date_column , background_date_column ,date_format ,location_column , config ):
87+ def parse_global_report_options (report_title , report_content ,report_preset , global_snipit ,report_column , anonymise ,date_column , background_date_column ,date_format ,location_column , config ):
8888 """
8989 parses the report group arguments
9090 --report-content (Default 1,2,3)
@@ -94,8 +94,9 @@ def parse_global_report_options(report_content,report_preset,report_column, anon
9494 --background-date-column (default: sample_date if present, False if not)
9595 --timeline-dates
9696 """
97-
97+
9898 # if command line arg, overwrite config value
99+ misc .add_arg_to_config (KEY_REPORT_TITLE ,report_title ,config )
99100 misc .add_arg_to_config (KEY_REPORT_CONTENT ,report_content ,config )
100101 misc .add_arg_to_config (KEY_REPORT_PRESET ,report_preset ,config )
101102 if config [KEY_REPORT_PRESET ]:
@@ -107,6 +108,8 @@ def parse_global_report_options(report_content,report_preset,report_column, anon
107108 global_report_functions .parse_date_args (date_column , background_date_column , date_format , config )
108109 global_report_functions .parse_location (location_column , config )
109110
111+ misc .add_arg_to_config (KEY_GLOBAL_SNIPIT ,global_snipit ,config )
112+
110113 return name_output
111114
112115def parse_tree_options (tree_annotations ,max_tree_size , config ):
0 commit comments