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

Add replicates to step #13

Merged
merged 5 commits into from
Jul 12, 2017
Merged

Add replicates to step #13

merged 5 commits into from
Jul 12, 2017

Conversation

tcezard
Copy link

@tcezard tcezard commented Jul 10, 2017

This PR adds the ability to create a Step with a variable number of replicates

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 75.734% when pulling ac977de on add_replicates_to_step into 0aac6ad on master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 75.734% when pulling ac977de on add_replicates_to_step into 0aac6ad on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 75.734% when pulling ac977de on add_replicates_to_step into 0aac6ad on master.

Copy link
Collaborator

@mwhamgenomics mwhamgenomics left a comment

Choose a reason for hiding this comment

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

Looks good, just needs to check that the inputs and replicates lists match

@@ -910,12 +911,16 @@ def create(cls, lims, protocol_step, inputs, container_type_name=None, reagent_c
reagent_category_node = ElementTree.SubElement(instance.root, 'reagent_category')
reagent_category_node.text = reagent_category

if isinstance(replicates, int):
replicates = [replicates] * len(inputs)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we also check here that replicates and inputs have the same length?

@coveralls
Copy link

coveralls commented Jul 12, 2017

Coverage Status

Coverage increased (+0.09%) to 75.751% when pulling c334fd9 on add_replicates_to_step into 0aac6ad on master.

@tcezard tcezard merged commit 36748ae into master Jul 12, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 74.964% when pulling f063a87 on add_replicates_to_step into 0aac6ad on master.

@tcezard tcezard deleted the add_replicates_to_step branch May 11, 2018 03:07
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.

None yet

3 participants