We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b23d93d commit 97c8854Copy full SHA for 97c8854
1 file changed
src/adios4dolfinx/backends/xdmf/backend.py
@@ -109,7 +109,7 @@ def read_mesh_data(
109
Returns:
110
Internal data structure for the mesh data read from file
111
"""
112
- assert read_from_partition == False
+ assert not read_from_partition
113
check_file_exists(filename)
114
with dolfinx.io.XDMFFile(comm, filename, "r") as file:
115
cell_shape, cell_degree = file.read_cell_type()
0 commit comments