[postprocessor] typo in write cells

This commit is contained in:
Noe Brucy
2021-06-16 10:31:49 +02:00
parent 13929cf99d
commit 3ef8542ef4
+1 -1
View File
@@ -1298,7 +1298,7 @@ class PostProcessor(HDF5Container):
def _write_cells(self): def _write_cells(self):
"""Ensure cells are written in the hdf5 file""" """Ensure cells are written in the hdf5 file"""
if os.path.exists(self.cells_filename) and not self.cells_loaded: if not os.path.exists(self.cells_filename) and not self.cells_loaded:
self.load_cells() self.load_cells()
self.unload_cells() self.unload_cells()
return np.array([self.cells_filename]) return np.array([self.cells_filename])