@@ -298,20 +298,16 @@ def save_experiment(self) -> None:
298
298
299
299
output_file_repr = output_file .replace (os .sep , '%' )
300
300
shutil .copyfile (output_file , os .path .join (output_files_path , output_file_repr ))
301
- os .symlink (experiment_path_targz ,
302
- os .path .join (ensure_dir_exists (os .path .join (experiment_by_outfile_path ,
303
- output_file_repr )),
304
- start_datetime .strftime ('%Y-%m-%d-%H-%M-%S' ) + '.' + self .uuid ))
301
+ with open (os .path .join (experiment_by_outfile_path , output_file_repr ), 'a' ) as file :
302
+ print (self .uuid , file = file )
305
303
with open (os .path .join (experiment_path , 'input_files.pickle' ), 'wb' ) as file :
306
304
pickle .dump ({input_file : eval_checksum (input_file )
307
305
for input_file in self .input_files },
308
306
file )
309
307
for input_file in self .input_files :
310
308
input_file_repr = input_file .replace (os .sep , '%' )
311
- os .symlink (experiment_path_targz ,
312
- os .path .join (ensure_dir_exists (os .path .join (experiment_by_infile_path ,
313
- input_file_repr )),
314
- start_datetime .strftime ('%Y-%m-%d-%H-%M-%S' ) + '.' + self .uuid ))
309
+ with open (os .path .join (experiment_by_infile_path , input_file_repr ), 'a' ) as file :
310
+ print (self .uuid , file = file )
315
311
316
312
extra_keys_path = ensure_dir_exists (os .path .join (experiment_path , 'extra_keys' ))
317
313
0 commit comments