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

Merge branch 'doc/src_file_error_message' into 'master'

adds error message

See merge request !144
parents 3fabdf72 ec519090
Branches
No related tags found
1 merge request!144adds error message
Pipeline #259431 passed
...@@ -1007,6 +1007,12 @@ class DNS(_code): ...@@ -1007,6 +1007,12 @@ class DNS(_code):
f0.close() f0.close()
src_file = check_file src_file = check_file
break break
if type(src_file) == type(None):
print('could not find checkpoint file')
print('source_checkpoints = ', source_checkpoints)
print('checkpoint_field = ', checkpoint_field)
print('iteration = ', opt.src_iteration)
exit(0)
self.copy_complex_field( self.copy_complex_field(
src_file, src_file,
checkpoint_field + '/complex/{0}'.format(opt.src_iteration), checkpoint_field + '/complex/{0}'.format(opt.src_iteration),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment