-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Mock image dataset for CSV loading (CSV pt. 1) #214
Conversation
b5c8da2
to
439128a
Compare
439128a
to
eb07195
Compare
@@ -0,0 +1,39 @@ | |||
import { expect } from "chai"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit tests are purposefully very basic right now! Will be adding more robust checks in a future PR.
* - Check for behavior when there is no discrete feature column -> validate groupby | ||
* - Check for handling of BFF-specific column names (they should be remapped) | ||
* - Check that metadata columns are parsed correctly | ||
* - Check that metadata-related columns are not parsed as features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check when cellIds collide with row numbers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't feel super familiar/confident about the data that's coming in here, but LGTM! Nice work.
"\npotato,https://example.com/1/raw.ome.zarr,https://example.com/1.png,1,2,3,A" + | ||
"\ngarbanzo,https://example.com/2/raw.ome.zarr,https://example.com/2.jpeg,7,3.4,1,B" + | ||
"\nturnip,https://example.com/3/raw.ome.zarr,https://example.com/3.jpeg,4,5,6,B" + | ||
"\nrutabaga,https://example.com/4/raw.ome.zarr,https://example.com/4.jpeg,9,2.8,NaN,C"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delicious fall themed tuber data
Problem
Part 1 of around 2-3 PRs I'll be opening to complete #213, "load CSV data".
This PR is very bare-bones because I'm trying to keep my PRs at a more manageable size. The next PR will include more robust unit testing and handling for BFF-specific data formats.
Estimated review size: large, 30 minutes
Follow up PRs:
Solution
papaparse
as a dependency.CsvRequest
.Type of change