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...
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
Noneand only change when a sample is inserted. This meansNonewill 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
Nonepositions 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...