@@ -85,6 +85,7 @@ def initial_rss(
8585 dft_ref_file : str = "dft_ref.extxyz" ,
8686 rss_group : str = "initial" ,
8787 test_ratio : float = 0.1 ,
88+ disable_testing : bool = False ,
8889 regularization : bool = False ,
8990 retain_existing_sigma : bool = False ,
9091 scheme : str | None = None ,
@@ -171,6 +172,8 @@ def initial_rss(
171172 test_ratio: float
172173 The proportion of the test set after splitting the data.
173174 If None, no splitting will be performed. Default is 0.1.
175+ disable_testing: bool
176+ Whether to disable running the model on test data. Default is False.
174177 regularization: bool
175178 If true, apply regularization. This only works for GAP. Default is False.
176179 retain_existing_sigma: bool
@@ -274,6 +277,7 @@ def initial_rss(
274277 )
275278 do_data_preprocessing = preprocess_data (
276279 test_ratio = test_ratio ,
280+ disable_testing = disable_testing ,
277281 regularization = regularization ,
278282 retain_existing_sigma = retain_existing_sigma ,
279283 scheme = scheme ,
@@ -295,6 +299,7 @@ def initial_rss(
295299 apply_data_preprocessing = False ,
296300 auto_delta = auto_delta ,
297301 glue_xml = False ,
302+ disable_testing = disable_testing ,
298303 ).make (
299304 isolated_atom_energies = do_data_collection .output ["isolated_atom_energies" ],
300305 database_dir = do_data_preprocessing .output ,
@@ -352,6 +357,7 @@ def do_rss_iterations(
352357 dft_ref_file : str = "dft_ref.extxyz" ,
353358 rss_group : str = "rss" ,
354359 test_ratio : float = 0.1 ,
360+ disable_testing : bool = False ,
355361 regularization : bool = False ,
356362 retain_existing_sigma : bool = False ,
357363 scheme : str | None = None ,
@@ -479,6 +485,8 @@ def do_rss_iterations(
479485 Group name for GAP RSS. Default is 'rss'.
480486 test_ratio: float
481487 The proportion of the test set after splitting the data. Default is 0.1.
488+ disable_testing: bool
489+ Whether to disable running the model on test data. Default is False.
482490 regularization: bool
483491 If true, apply regularization. This only works for GAP. Default is False.
484492 retain_existing_sigma: bool
@@ -674,6 +682,7 @@ def do_rss_iterations(
674682 )
675683 do_data_preprocessing = preprocess_data (
676684 test_ratio = test_ratio ,
685+ disable_testing = disable_testing ,
677686 regularization = regularization ,
678687 retain_existing_sigma = retain_existing_sigma ,
679688 scheme = scheme ,
@@ -695,6 +704,7 @@ def do_rss_iterations(
695704 apply_data_preprocessing = False ,
696705 auto_delta = auto_delta ,
697706 glue_xml = False ,
707+ disable_testing = disable_testing ,
698708 ).make (
699709 database_dir = do_data_preprocessing .output ,
700710 isolated_atom_energies = input ["isolated_atom_energies" ],
@@ -744,6 +754,7 @@ def do_rss_iterations(
744754 dft_ref_file = dft_ref_file ,
745755 rss_group = rss_group ,
746756 test_ratio = test_ratio ,
757+ disable_testing = disable_testing ,
747758 regularization = regularization ,
748759 retain_existing_sigma = retain_existing_sigma ,
749760 scheme = scheme ,
0 commit comments