@@ -35,9 +35,9 @@ def test_restart_thermo(self):
3535 Rather than through ARC.py. Check that all files are in place and the log file content.
3636 """
3737 restart_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'restart' , '1_restart_thermo' , 'restart.yml' )
38- input_dict = read_yaml_file (path = restart_path )
3938 project = 'arc_project_for_testing_delete_after_usage_restart_thermo'
4039 project_directory = os .path .join (ARC_PATH , 'Projects' , project )
40+ input_dict = read_yaml_file (path = restart_path , project_directory = project_directory )
4141 input_dict ['project' ], input_dict ['project_directory' ] = project , project_directory
4242 arc1 = ARC (** input_dict )
4343 arc1 .execute ()
@@ -129,9 +129,9 @@ def test_restart_thermo(self):
129129 def test_restart_rate_1 (self ):
130130 """Test restarting ARC and attaining a reaction rate coefficient"""
131131 restart_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'restart' , '2_restart_rate' , 'restart.yml' )
132- input_dict = read_yaml_file (path = restart_path )
133132 project = 'arc_project_for_testing_delete_after_usage_restart_rate_1'
134133 project_directory = os .path .join (ARC_PATH , 'Projects' , project )
134+ input_dict = read_yaml_file (path = restart_path , project_directory = project_directory )
135135 input_dict ['project' ], input_dict ['project_directory' ] = project , project_directory
136136 arc1 = ARC (** input_dict )
137137 arc1 .execute ()
@@ -176,11 +176,12 @@ def test_restart_rate_2(self):
176176 def test_restart_bde (self ):
177177 """Test restarting ARC and attaining reaction a rate coefficient"""
178178 restart_path = os .path .join (ARC_PATH , 'arc' , 'testing' , 'restart' , '3_restart_bde' , 'restart.yml' )
179- input_dict = read_yaml_file (path = restart_path )
179+ project_directory = os .path .join (ARC_PATH , 'Projects' , 'test_restart_bde' )
180+ input_dict = read_yaml_file (path = restart_path , project_directory = project_directory )
180181 arc1 = ARC (** input_dict )
181182 arc1 .execute ()
182183
183- report_path = os .path .join (ARC_PATH , 'Projects' , 'test_restart_bde' , 'output' , 'BDE_report.txt' )
184+ report_path = os .path .join (project_directory , 'output' , 'BDE_report.txt' )
184185 with open (report_path , 'r' ) as f :
185186 lines = f .readlines ()
186187 self .assertIn (' BDE report for anilino_radical:\n ' , lines )
0 commit comments