Skip to content
Snippets Groups Projects
Commit f3d86b44 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

[fix] adds parameter copy for resize

parent 7b326e22
Branches
Tags
No related merge requests found
Pipeline #80054 passed
......@@ -827,6 +827,10 @@ class PP(_code):
cpf_name,
'vorticity/complex/' + iter_name)
cpf.close()
if self.dns_type == 'resize':
with h5py.File(os.path.join(self.work_dir, self.pp_parameters['new_simname'] + '.h5'), 'a') as ff:
for kk in df['parameters'].keys():
ff['parameters/' + kk] = df['parameters/' + kk][...]
return None
def launch_jobs(
self,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment