def mimarks(self, mimarks): self.logger.debug("In mimarks setter.") valid_dictionary = MIMARKS.check_dict(mimarks) # Validate the incoming MIMARKS data if valid_dictionary: self.logger.debug("MIMARKS data seems correct.") self._mimarks = mimarks else: raise MimarksException("Invalid MIMARKS data detected.")
def mimarks(self, mimarks): """ The setter for the SixteenSDnaPrep MIMARKS. The provided dictionary must validate based on the MIMARKS class. Args: mimars (dict): The new MIMARKS dictionary. Returns: None """ self.logger.debug("In mimarks setter.") valid_dictionary = MIMARKS.check_dict(mimarks) # Validate the incoming MIMARKS data if valid_dictionary: self.logger.debug("MIMARKS data seems correct.") self._mimarks = mimarks else: raise MimarksException("Invalid MIMARKS data detected.")