-
Notifications
You must be signed in to change notification settings - Fork 179
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): labwareTools refactor for Labware Creator #3804
Conversation
factor out fns createRegularLoadName and createDefaultDisplayName for use in Labware Creator
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
7 similar comments
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.21% -0.06%
==========================================
Files 817 823 +6
Lines 22759 23387 +628
==========================================
+ Hits 13035 13381 +346
- Misses 9724 10006 +282
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## edge #3804 +/- ##
==========================================
- Coverage 57.27% 57.27% -0.01%
==========================================
Files 817 817
Lines 22759 22772 +13
==========================================
+ Hits 13035 13042 +7
- Misses 9724 9730 +6
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.
🍨
shared-data/js/labwareTools/index.js
Outdated
@@ -311,6 +372,7 @@ export function createIrregularLabware( | |||
args: IrregularLabwareProps | |||
): Definition { | |||
const { offset, dimensions, grid, spacing, well, gridStart, group } = args | |||
const strict = args.strict || false |
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.
Nitpick, but strict
false by default changes existing behavior of this function
overview
createRegularLoadName
andcreateDefaultDisplayName
for use in Labware Creatorstrict
parameter to the labware creation and validation fns that only throws whenstrict
is true, so that I can get the imperfect "work in progess" labware definition for rendering in LC.changelog
review requests
This should not change the behavior of
createRegularLabware
fn, just a refactor