Describe the bug
scRNA Core - Seena, Abby and I noticed when testing the step LRC PBMC Bank --> LRC Bank Seq/Spare that if you try to cancel one of the child tubes, it throws an unhandled exception:
A NoMethodError occurred in tubes#update:
undefined method `wells' for #<Sequencescape::Api::V2::Tube:@attributes={"type"=>"tubes", "id"=>"26836486", "uuid"=>"8d4c2fea-6fd3-11ef-a088-0242c6483a9e", "name"=>"SEQ:NT1790211P:A1", "labware_barcode"=>#<LabwareBarcode:0x00007fdf522da8c8 @human="ED21224878", @machine="ED21224878", @ean13="">, "state"=>"passed", "created_at"=>2024-09-11 01:19:47 +0100, "updated_at"=>2024-09-11 01:19:47 +0100}>
app/models/state_changers.rb:43:in `contents_for'
Describe the bug scRNA Core - Seena, Abby and I noticed when testing the step LRC PBMC Bank --> LRC Bank Seq/Spare that if you try to cancel one of the child tubes, it throws an unhandled exception: