Skip to content
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

fix: NA in the middle of the layout #211

Merged

Conversation

Fersoil
Copy link
Collaborator

@Fersoil Fersoil commented Dec 19, 2024

As mentioned in #210, the plate reader fails in case there are some holes in the middle of the layout file. Due to the parsing method, some samples were not correctly read in such plate files.

This PR fixes this issue by modifying the setters functions of the plate_builder class. The modifications include proper selection of the layout elements based on the locations obtained from the plate CSV file.

I also added simple tests with plate and layout files.

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.20%. Comparing base (02aaa80) to head (15625f4).
Report is 5 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #211      +/-   ##
==========================================
+ Coverage   88.18%   88.20%   +0.02%     
==========================================
  Files          14       14              
  Lines        1718     1713       -5     
==========================================
- Hits         1515     1511       -4     
+ Misses        203      202       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Fersoil Fersoil requested a review from ZetrextJG December 20, 2024 12:54
Copy link
Collaborator

@nizwant nizwant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Fersoil Fersoil merged commit 87d80b7 into dev Dec 20, 2024
9 checks passed
@Fersoil Fersoil deleted the 210-fix-dilutions-are-not-recognised-if-the-layout-files-has-holes branch December 20, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants