Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Add generic unit names to user-defined units
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 15, 2023
1 parent 39bbe26 commit 4bdcfbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/swiftest/swiftest/simulation_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -1753,11 +1753,11 @@ def set_unit_system(self,
TU2S_old = None

if "MU_name" not in dir(self):
self.MU_name = None
self.MU_name = "MU"
if "DU_name" not in dir(self):
self.DU_name = None
self.DU_name = "DU"
if "TU_name" not in dir(self):
self.TU_name = None
self.TU_name = "TU"

update_list = []
if MU is not None or MU2KG is not None:
Expand Down

0 comments on commit 4bdcfbb

Please sign in to comment.