Skip to content

Commit f9ebe2e

Browse files
abukvaax3l
authored andcommitted
Fixed identations
1 parent 2b2c146 commit f9ebe2e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tools/splash2xdmf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,12 @@ def create_xdmf_poly_attribute(dset, h5filename):
282282
attribute.setAttribute("Name", get_attr_name(dset.name))
283283

284284
for (attr_name, attr_value) in dset.attrs.items():
285-
if not attr_name.startswith("_"):
286-
if get_datatype_and_prec(dset.attrs.get(attr_name)) != (None, None):
287-
information = doc.createElement("Information")
288-
information.setAttribute("Name", attr_name)
289-
information.setAttribute("Value", "{}".format(attr_value))
290-
attribute.appendChild(information)
285+
if not attr_name.startswith("_"):
286+
if get_datatype_and_prec(dset.attrs.get(attr_name)) != (None, None):
287+
information = doc.createElement("Information")
288+
information.setAttribute("Name", attr_name)
289+
information.setAttribute("Value", "{}".format(attr_value))
290+
attribute.appendChild(information)
291291

292292

293293
data_item_attr = doc.createElement("DataItem")

0 commit comments

Comments
 (0)