@@ -150,7 +150,7 @@ class Config:
150150
151151 model_opts = ('itself' , 'exchangeable' , 'mandatory' , 'accessory' , 'neutral' ,
152152 'out_of_cluster' , 'redundancy_penalty' ,
153- 'e_value_search' , 'e_value_sel' , 'coverage_profile' , 'cut_ga' )
153+ 'e_value_search' , 'e_value_sel' , 'coverage_profile' , 'cut_ga' , 'no_cut_ga' )
154154
155155 path_opts = ('sequence_db' , 'topology_file' , 'cfg_file' , 'log_file' , 'models_dir' , 'system_models_dir' , 'out_dir' ,
156156 'profile_suffix' , 'res_search_dir' , 'res_search_suffix' , 'res_extract_suffix' , 'index_dir' )
@@ -244,7 +244,6 @@ def __init__(self, defaults: MacsyDefaults, parsed_args: argparse.Namespace) ->
244244 # superseed options (potentially in model_conf)
245245 # by the values provided by previous-run, project conf, the users on the commandline
246246 self ._options .update (self ._tmp_opts )
247-
248247 # check that hmmsearch exists
249248 if not self .hmmer ():
250249 msg = "'hmmsearch' NOT found in your PATH, Please specify hmmsearch path with --hmmer opt " \
@@ -373,7 +372,10 @@ def _set_command_line_config(self, parsed_args: argparse.Namespace) -> None:
373372 args_dict = {k : v for k , v in vars (parsed_args ).items () if not k .startswith ('__' ) and v is not None }
374373 for opt in self .model_opts :
375374 if opt in args_dict :
376- self ._tmp_opts [opt ] = args_dict [opt ]
375+ if opt == 'no_cut_ga' :
376+ self ._tmp_opts ['cut_ga' ] = False
377+ else :
378+ self ._tmp_opts [opt ] = args_dict [opt ]
377379 del args_dict [opt ]
378380 self ._set_options (args_dict )
379381
@@ -789,7 +791,9 @@ def _set_no_cut_ga(self, value) -> None:
789791 :return:
790792 :rtype:
791793 """
794+ print (f'!!!!!!!!!!!!!! _set_no_cut_ga { value = } !!!!!!!!!!!!!!!!!!!!!!!!' )
792795 self ._options ['cut_ga' ] = not value
796+ print (f"!!!! { self ._options ['cut_ga' ] = } " )
793797
794798
795799 def models_dir (self ) -> str | None :
0 commit comments