-
Notifications
You must be signed in to change notification settings - Fork 8
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
DPL-1099 Added double label for bioscan lysate plate #1635
DPL-1099 Added double label for bioscan lysate plate #1635
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1635 +/- ##
===========================================
+ Coverage 90.79% 90.82% +0.02%
===========================================
Files 362 363 +1
Lines 7467 7490 +23
===========================================
+ Hits 6780 6803 +23
Misses 687 687
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
end | ||
|
||
# Fetch the partner id from the first well that has a sample. | ||
# Assumption: The partner id is stored in the sample description, and all wells woth |
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.
typo: all wells with
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.
thx changed
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.
Looks good.
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.
Unsure whether a restructure/refactor is needed here. I won't approve or request changes.
end | ||
|
||
# Define the second label for the lysate plate | ||
def intermediate_attributes |
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.
Would it be worth a refactor on the name of these attributes? It seems like this name was perhaps relevant to another type of label printing but I think in this case you're trying to print two labels to capture more information in the same piece of labware?
I just wouldn't know what intermediate attributes means if I was looking at this code for the first time.
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.
Have renamed a couple of those methods in the label class to (I think) make more sense.
I don't really follow why extra_attributes
is separated (it seems to make an extra 6mm label for 384-well plates but why is that different to additional_attributes?) or what sprint_attributes
is doing.
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.
Very nice to see the methods being more descriptive 👍🏻
Code Climate has analyzed commit d75b91c and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 90.4% (0.1% change). View more on Code Climate. |
Closes #4019
Adds a second label for the Bioscan lysate plate which has the supplier partner plate id barcode on it that was stored in the sample metadata in sample_description.
Needs physical testing onsite.