File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed
Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -215,12 +215,6 @@ def run():
215215 default = False ,
216216 help = "Remove source files immediately after their transfer" ,
217217 )
218- parser .add_argument (
219- "--relax" ,
220- action = "store_true" ,
221- default = False ,
222- help = "Relax the condition that the source directory needs to be recognised from the configuration" ,
223- )
224218 parser .add_argument (
225219 "--name" ,
226220 type = str ,
@@ -344,7 +338,6 @@ def run():
344338 gain_ref = gain_ref ,
345339 redirected_logger = rich_handler ,
346340 force_mdoc_metadata = not args .ignore_mdoc_metadata ,
347- strict = not args .relax ,
348341 processing_enabled = machine_data .get ("processing_enabled" , True ),
349342 skip_existing_processing = args .skip_existing_processing ,
350343 )
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ def __init__(
7474 gain_ref : Path | None = None ,
7575 redirected_logger = None ,
7676 force_mdoc_metadata : bool = False ,
77- strict : bool = False ,
7877 processing_enabled : bool = True ,
7978 skip_existing_processing : bool = False ,
8079 ** kwargs ,
@@ -104,7 +103,6 @@ def __init__(
104103 self ._processing_enabled = processing_enabled
105104 self ._multigrid_watcher : MultigridDirWatcher | None = None
106105 self ._force_mdoc_metadata = force_mdoc_metadata
107- self ._strict = strict
108106 self ._skip_existing_processing = skip_existing_processing
109107 self ._machine_config = get_machine_config_client (
110108 str (self ._environment .url .geturl ()),
Original file line number Diff line number Diff line change @@ -272,9 +272,7 @@ def compose(self):
272272 ).json ()
273273 self ._dir_tree = _DirectoryTree (
274274 str (self ._selected_dir ),
275- data_directories = (
276- machine_data .get ("data_directories" , []) if self .app ._strict else []
277- ),
275+ data_directories = machine_data .get ("data_directories" , []),
278276 id = "dir-select" ,
279277 )
280278
You can’t perform that action at this time.
0 commit comments