WayScience / CytoSnake

Orchestrating high-dimensional cell morphology data processing pipelines
https://cytosnake.readthedocs.io
Creative Commons Attribution 4.0 International
3 stars 3 forks source link

Platemap Index Error Not Called #21

Open jenna-tomkinson opened 1 year ago

jenna-tomkinson commented 1 year ago

When prototyping with Cytosnake, there was an issue with my barcode_plate.csv where the names within the file did not match the .sqlite file or the platemap.csv file. Due to this, in the aggregate_cell.py file, the IndexError should have been raised and stated "Unable to find associated platemap name with given plate barcode".

This error (along with the statement) was not called when I ran Cytosnake, so it took a longer time to diagnose the issue than if that error statement had been called.

axiomcura commented 1 year ago

Update: This will become a helper function in CytoSnake. This function will automatically map the corresponding plate maps with plate when parsing a barcode file.