Skip to content

Commit

Permalink
added unitless unit and fix ecc unit
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed Mar 20, 2024
1 parent 21dd39d commit 326919f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MDANSE/Src/MDANSE/Framework/Jobs/Eccentricity.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def initialize(self):
"LineOutputVariable",
npoints,
axis="time",
units="uma*nm2",
units="uma nm2",
)
for axis in ["a", "b", "c"]:
self._outputData.add(
Expand Down
16 changes: 15 additions & 1 deletion MDANSE/Src/MDANSE/Framework/units.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,21 @@
0
],
"factor": 1.0
},
},
"unitless": {
"dimension": [
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"factor": 1.0
},
"au": {
"dimension": [
0,
Expand Down

0 comments on commit 326919f

Please sign in to comment.