File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments