Describe the bug
The custom screen for the PoolTubesFromWholePlates labware creator displays on the left a list of plates of the correct purpose and state to choose from to add to the 4 scan boxes on the right of the screen. This list of plates to choose from is displaying many identical duplicates of the same plate.
RT Ticket Number
NA
To Reproduce
Steps to reproduce the behaviour:
- In integration suite, in test
spec/limber/gbs_pipeline_spec.rb
- Add a
binding.pry after line 91 create_default_tube 'GBS PCR2 Pool Stock'
- run the test to that point, you should see the custom screen that has a list of plates on the left (duplicates) and scan boxes for 4 plates on the right.
Expected behaviour
The list should be of unique plates
Screenshots
Example showing many duplicates:
Additional context
Possible fix in this PR (adds uniq on id to the fetch_all line):
#2485
However, it may be that this indicates a problem with the V2 api plate fetch that needs to be resolved. Perhaps it's causing inefficiencies. Investigate as part of the story.