Skip to content

Improve flexibility for defining sample's concentrations #1753

@diegoliberman

Description

@diegoliberman
  1. In the sample detail, the field for entering the concentration should be just an input box expressing the unit copies/µl. The user may enter absolute numbers such as 600 or scientific notation such as 75e+6.
    1. When creating a sample, the user may enter any of those 2 formats.
    2. When editing a sample, the system will show the absolute number if it's less than 5 figures. Else the scientific notation will be used.
  2. Concentrations that were saved before these changes: we need to delete the concentration value and exponent, and make sure we store the corresponding absolute number that can be used for correctly displaying as mentioned in item 1.2.
  3. Creating boxes should honor the new way of storing concentrations. Even when we're planning to implement V2 of boxes, let's please implement the concentration changes and adapt other features if necessary. The effort will be harvested in V2.
  4. The concentration is included when downloading the inventory of a box. Make sure we're populating this column with the absolute value of the concentration.
  5. The concentration is one of the blinded fields. Make sure the blinding feature is still working as expected in regards to the blinding and unblinding of the concentration.

Acceptance criteria

  1. I can enter a concentration in the sample detail as 500 and 75e+6 (scientific notation).
  2. I open a sample with a concentration greater than 99,999 and the absolute number is shown.
  3. I open a sample with a concentration lower than 100,000 and it's shown in the scientific notation.
  4. I create an LOD box and the concentrations are shown (within the sample detail) as described in 3 and 4.
  5. Same as 5 for Variants.
  6. Same as 5 for Challenge.
  7. I can download the inventory of a box and the Concentration column is populated with the absolute number.
  8. If I blind a box, and transfer it the recipient can't see the concentration the sample detail and in the inventory.
  9. If I don't blind a box and transfer it, the recipient sees the concentration in the sample detail and in the inventory.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions