Skip to content

Commit

Permalink
remove close statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Schick committed Dec 27, 2023
1 parent 0802392 commit c19d149
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyEvalData/io/sardana_nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ def parse_raw(self):
if self.read_all_data:
self.read_scan_data(self.scan_dict[entry_number])

nxs_file.close()

def read_raw_scan_data(self, scan):
"""read_raw_scan_data
Expand Down Expand Up @@ -176,5 +174,3 @@ def read_raw_scan_data(self, scan):
scan.data = fromarrays(data_list, dtype=dtype_list)
else:
scan.date = None

nxs_file.close()

0 comments on commit c19d149

Please sign in to comment.