Closed ShrimpCryptid closed 1 week ago
PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-06-18 22:05 UTC
Status | Category | Percentage | Covered / Total |
---|---|---|---|
🔵 | Lines | 66.98% | 4768 / 7118 |
🔵 | Statements | 66.98% | 4768 / 7118 |
🔵 | Functions | 57.41% | 120 / 209 |
🔵 | Branches | 80.64% | 375 / 465 |
File | Stmts | % Branch | % Funcs | % Lines | Uncovered Lines |
---|---|---|---|---|---|
Changed Files | |||||
src/colorizer/Dataset.ts | 79.88% | 76.81% | 70.58% | 79.88% | 115-117, 178, 214-215, 233-234, 246-247, 274-280, 294-295, 302-303, 307-309, 313-314, 324-325, 331-332, 335-350, 376-377, 393-402, 430-431, 461-463, 467-468, 472-473, 476-480, 483-507, 514-521 |
src/colorizer/types.ts | 97.01% | 100% | 60% | 97.01% | 128-129, 198-201 |
src/colorizer/utils/data_utils.ts | 60.68% | 70% | 33.33% | 60.68% | 20-21, 27-32, 66-76, 78-86, 97-102, 115-137 |
src/colorizer/utils/dataset_utils.ts | 100% | 100% | 100% | 100% | |
src/colorizer/utils/url_utils.ts | 94.46% | 95.76% | 91.3% | 94.46% | 91-97, 148-154, 184-195, 480-487 |
Problem
Closes #382, a bug where the feature units from newer datasets did not appear on the UI. This was caused by a mismatch in the key it was retrieving ("units" instead of "unit", which is the expected format based on our documentation: https://github.com/allen-cell-animated/colorizer-data/blob/main/documentation/DATA_FORMAT.md#dataset).
Estimated review size: small, 5-10 minutes
Solution
unit
.unit
instead ofunits
for consistency.units
tounit
.Type of change
Steps to Verify:
Screenshots (optional):