Commit 18ca184b authored by Leon Pyka's avatar Leon Pyka
Browse files

push_data: copies and does not move cpp-script

parent a003faaa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ def run_a_simulation_fuse(seed, offset):

if __name__=="__main__":
    list_of_seeds =  []
    offset = 2
    offset = 5
    for seed in range(1000, 1050):
        list_of_seeds.append(seed) 
    with Pool(50) as p:
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ def push_ivcat(destination):
    ivcat_filename = "ivcat.txt"
    cpp_script_filename = "fs_strength"
    shutil.move(ivcat_filename, f'{destination_dir}/{ivcat_filename}')
    shutil.move(cpp_script_filename, f'{destination_dir}/{cpp_script_filename}')
    shutil.copy(cpp_script_filename, f'{destination_dir}/{cpp_script_filename}')

def copy_py_file_to(destination):
    current_path = Path(os.getcwd())