simulariumio/data_objects/unit_data.py
def _update_units(self):
        """
        update magnitude and name after setting quantity
        """
        self._quantity = self._quantity.to_compact()
        self.magnitude = self._clamp_precision(self._quantity.magnitude)
        n = f"{self._quantity.units:~}"
        # pint has the wrong abbreviation for microns? (µ instead of µm)
        if n == "µ":
            n += "m"
        self.name = n

        update magnitude and name after setting quantity
        
update magnitude and name after setting quantity
update magnitude and name after setting quantity
def _update_units(self):
        self._quantity = self._quantity.to_compact()
        self.magnitude = self._clamp_precision(self._quantity.magnitude)
        n = f"{self._quantity.units:~}"
        if n == "µ":
            n += "m"
        self.name = n
def _update_units ( self ) : self . _quantity = self . _quantity . to_compact ( ) self . magnitude = self . _clamp_precision ( self . _quantity . magnitude ) n = f"{self._quantity.units:~}" if n == "µ": n += "m" self . name = n
update magnitude and name after setting quantity
update magnitude and name after setting quantity
"""
        update magnitude and name after setting quantity
        """ # pint has the wrong abbreviation for microns? (µ instead of µm)
self