Skip to content

Handle less than max wells number of samples #1

Description

@mcnaughtonadm

There will be instances in plate randomization where there are less than the max number of possible positions in the plate. For instance we may have a 96 well plate but only have 45 samples.

Currently this is taken care of by randomizing over the entire plate as the plate dimensions start as None and only change when a sample is inserted. This means None will be present in a random fashion over all 96 wells.

A nice way to deal with this is to compress the samples by only using the available indices from right to left so that once all samples are filled the extra None positions are all together after the samples.

We can potentially handle this by pre-checking the amount of samples and restricting the well indices that can be selected for placing samples. This however changes the effective "perimeter" positions...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions