-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add support for HCS 0.4 specification #159
Conversation
- rowIndex/colIndex are now mandatory keys of the well element - add validation logic in the format API - add logic for generating row/column index if wells are passed as strings
Codecov Report
@@ Coverage Diff @@
## master #159 +/- ##
==========================================
+ Coverage 82.11% 82.82% +0.71%
==========================================
Files 12 12
Lines 1269 1304 +35
==========================================
+ Hits 1042 1080 +38
+ Misses 227 224 -3
Continue to review full report at Codecov.
|
The last commits add extra validation checks ensuring the consistency of the well |
Looks good, thanks. |
@sbesson - I've started using |
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.
thanks for adding new tests
Implements the specification changes proposed in ome/ngff#24
rows
andcolumns
must have unique names and be alphanumericalwells
elements must includepath
(composed of exactly 2 groups),rowIndex
andcolIndex
As discussed in #157, the internal logic is adjusted to support the simple case of passing wells as list of strings and compute the row/column indices assuming the paths match the
rows
andcolumns
lists.Unit tests are updated to cover both the new and the legacy behavior as well as various invalid cases. The reader is not adjusted to consume the new logic. I would propose to complete the work on #148 first.