Пример #1
0
    def _get_params_for_sql_statement(self):
        """
        If there is no minimum volume specified, the minimum volume is set
        to 0.
        """
        pool_term = self._get_pool_id_term()
        conc = self.concentration / CONCENTRATION_CONVERSION_FACTOR
        vol = (self.minimum_volume + STOCK_DEAD_VOLUME) \
              / VOLUME_CONVERSION_FACTOR
        tube_specs_term = get_stock_tube_specs_db_term()

        return (self._POOL_OPERATOR, pool_term, conc, vol, STOCK_ITEM_STATUS,
                tube_specs_term)
Пример #2
0
    def _get_params_for_sql_statement(self):
        """
        If there is no minimum volume specified, the minimum volume is set
        to 0.
        """
        pool_term = self._get_pool_id_term()
        conc = self.concentration / CONCENTRATION_CONVERSION_FACTOR
        vol = (self.minimum_volume + STOCK_DEAD_VOLUME) \
              / VOLUME_CONVERSION_FACTOR
        tube_specs_term = get_stock_tube_specs_db_term()

        return (self._POOL_OPERATOR, pool_term, conc, vol, STOCK_ITEM_STATUS,
                tube_specs_term)
Пример #3
0
 def _get_params_for_sql_statement(self):
     tube_specs = get_stock_tube_specs_db_term()
     return (tube_specs, STOCK_ITEM_STATUS, tube_specs, STOCK_ITEM_STATUS,
             get_stock_rack_size())
Пример #4
0
 def _get_params_for_sql_statement(self):
     tube_specs = get_stock_tube_specs_db_term()
     return (tube_specs, STOCK_ITEM_STATUS, tube_specs, STOCK_ITEM_STATUS,
             get_stock_rack_size())