simulariumio/data_objects/meta_data.py
def _set_box_size(self, box_size: np.ndarray = None):
        """
        Set the box_size to the optional provided override value,
        or to the default value if it is currently None.
        If it's not set to the default value, multiply it by the scale_factor
        """
        if self.box_size is None:
            if box_size is not None:
                self.box_size = box_size * self.scale_factor
            else:
                self.box_size = DEFAULT_BOX_SIZE
        else:
            self.box_size *= self.scale_factor

        Set the box_size to the optional provided override value,
        or to the default value if it is currently None.
        If it's not set to the default value, multiply it by the scale_factor
        
Set the box_size to the optional provided override value,
or to the default value if it is currently None.
If it's not set to the default value, multiply it by the scale_factor
Set the box_size to the optional provided override value or to the default value if it is currently None . If it ' s not set to the default value multiply it by the scale_factor
def _set_box_size(self, box_size: np.ndarray = None):
        if self.box_size is None:
            if box_size is not None:
                self.box_size = box_size * self.scale_factor
            else:
                self.box_size = DEFAULT_BOX_SIZE
        else:
            self.box_size *= self.scale_factor
def _set_box_size ( self , box_size : np . ndarray = None ) : if self . box_size is None : if box_size is not None : self . box_size = box_size * self . scale_factor else : self . box_size = DEFAULT_BOX_SIZE else : self . box_size *= self . scale_factor
Set the box_size to the optional provided override value,
or to the default value if it is currently None.
Set the box_size to the optional provided override value or to the default value if it is currently None .
"""
        Set the box_size to the optional provided override value,
        or to the default value if it is currently None.
        If it's not set to the default value, multiply it by the scale_factor
        """
self
box_size
np.ndarray