-
Notifications
You must be signed in to change notification settings - Fork 178
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
refactor(shared-data): finish file cleanup #3521
Conversation
Codecov Report
@@ Coverage Diff @@
## edge #3521 +/- ##
==========================================
- Coverage 52.35% 52.35% -0.01%
==========================================
Files 813 813
Lines 23744 23747 +3
==========================================
+ Hits 12432 12433 +1
- Misses 11312 11314 +2
Continue to review full report at Codecov.
|
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.
🎉 These changes make this area of the repo much easier to reason about.
I have two comments:
-
I appreciate the briefness of just referring to the schema versions of each data model by a number in place of 'v1'. Although it's a small change, I think that having a 'v' or some other string attached to these file/directory names is not only helpful for understanding what is being quantified, but also allows us to avoid some weirdness if we ever choose to import the file by name and butt up against problems naming variables with numbers.
-
I appreciate the way the model and name data is grouped within the
/pipette
directory. This organization does have the unfortunate side-effect of breaking the convention of directory structure that the other data models adhere to (e.g. instead of../schemas/1.json
we have another layer before the actual schema files../schemas/model/1.json
). In the interest of consistency, my preference would be to makepipetteModel
andpipetteName
separate data model directories at the top level and then their internal structure could retain consistency. Though this does split up the data we have regarding pipettes into two directories, it makes sense to me as they are related (one to many relationship), yet they are still separate data models.
Given that this directory organization is a stepping stone to a more robust solution for managing our data and their models, I don't hold either of these opinions too strongly and certainly wouldn't block if there was significant opposition.
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.
Labware Library checks out.
Tested JSON/Python in RA api 1 and 2:
- Python protocols work on v1 and v2 api (assuming the file has the correctly updated labware names)
- JSON protocol (created last wednesday on production PD for release testing) upload received this error:
Protocol for reference:
Katie's Protocol.json.zip
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.
Ran this to ground in person. 🦄 🌈 for this PR. Issue was due to 96-deep-well
not being supported in labware V2, but present in protocol designer.
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.
LGTM
overview
Finally closes #3331 🎉
changelog
robot-data/
in favor ofmodule/
andpipette/
dirsdefinitions/
intolabware/definitions/2
review requests