Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3dd63a56 authored by Martin Genet's avatar Martin Genet
Browse files

test flags before closing files

parent 73ba28ec
No related branches found
No related tags found
No related merge requests found
......@@ -127,5 +127,8 @@ def compute_strains(
strain_vs_radius_file.write("\n")
strain_vs_radius_file.write("\n")
strain_file.close()
strain_vs_radius_file.close()
if (write_strains):
strain_file.close()
if (write_strain_vs_radius):
strain_vs_radius_file.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment