Skip to content

Commit

Permalink
Fixed dangling units
Browse files Browse the repository at this point in the history
  • Loading branch information
atomprobe-tc committed Sep 4, 2024
1 parent 745d62d commit 486d84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynxtools_em/methods/microstructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def microstructure_to_template(
"strength": 1,
}
template[f"{trg}/area"] = np.asarray(area, np.float32)
template[f"{trg}/area@units"] = f"{ureg.micrometer * ureg.micrometer}"
template[f"{trg}/area/@units"] = f"{ureg.micrometer * ureg.micrometer}"
del area

"""
Expand Down

0 comments on commit 486d84e

Please sign in to comment.