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

updates warning messages

parent c5228d87
No related branches found
No related tags found
1 merge request!127updates warning messages
Pipeline #233617 passed
......@@ -802,7 +802,7 @@ class PP(_code):
if os.path.exists(cpf_name):
cpf = h5py.File(cpf_name, 'r')
if 'vorticity' not in cpf.keys():
print('file ', cpf_name, ' does not have vorticity group')
print('TurTLE warning: file ', cpf_name, ' does not have vorticity group')
else:
for iter_name in cpf['vorticity/complex'].keys():
if iter_name not in ff['vorticity/complex'].keys():
......@@ -810,7 +810,7 @@ class PP(_code):
cpf_name,
'vorticity/complex/' + iter_name)
if 'velocity' not in cpf.keys():
print('file ', cpf_name, ' does not have velocity group')
print('TurTLE warning: file ', cpf_name, ' does not have velocity group')
else:
if 'complex' in cpf['velocity'].keys():
for iter_name in cpf['velocity/complex'].keys():
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment