Skip to content

Commit

Permalink
_binary.reader: _file_out does not exist
Browse files Browse the repository at this point in the history
When you called `AnsysFile.close()` you got at line 255

   'ansys.mapdl.reader._binary_reader.AnsysFile' object has no attribute '_file_out'

as `_file_out` is never created (this line is the only occurrence).
  • Loading branch information
beppo-dd committed Oct 25, 2021
1 parent ae3a88e commit 1c6351e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ansys/mapdl/reader/cython/_binary_reader.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ cdef class AnsysFile:
def close(self):
"""Close the file"""
del self._file
del self._file_out

def read_element_data(self, int64_t [::1] ele_ind_table, int table_index,
int64_t ptr_off):
Expand Down

0 comments on commit 1c6351e

Please sign in to comment.