Skip to content

Commit 2ef830f

Browse files
Update io.py
Corrected bug in line 747 where the indentation of "file.close()" was incorrect.
1 parent c84dff9 commit 2ef830f

File tree

1 file changed

+1
-1
lines changed
  • BingClaw_fortfile_display_example/sct3

1 file changed

+1
-1
lines changed

BingClaw_fortfile_display_example/sct3/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def _write_gcl_esri(self):
744744
for i in range(self.nx):
745745
file.write(" %20.10f" %(self.z[i,j]))
746746
file.write("\n")
747-
file.close()
747+
file.close()
748748

749749
def _write_xyz(self):
750750
file=open(self.fn,'w')

0 commit comments

Comments
 (0)