-
Notifications
You must be signed in to change notification settings - Fork 5
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
ConvertJob.copy_sequences() method added. #145
Conversation
Method allows caller to copy the fastq files associated w/a sample-name and a project into another project.
Will add Amanda to the project as well. |
Pull Request Test Coverage Report for Build 9705977261Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9719729459Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9912490051Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
@antgonza Ready for review! |
Hi @AmandaBirmingham ! The functionality is now ready. Would you mind reviewing? Thank you! |
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.
A few ideas, no major concerns. Only firmly requested change is updating usage in comments of the old name for the copy_all_replicates
parameter.
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.
Just a couple of things. I can re-review once @AmandaBirmingham changes are implemented.
Ready for review! I did a little bit of interpretation with @AmandaBirmingham 's last suggestion. Please let me know what you guys think. |
copy_sequences() will now copy all replicates if a sample contains replicates. Copying a single replicate is no longer an option.
@AmandaBirmingham @antgonza ready for review! |
@@ -146,6 +151,9 @@ def run(self, callback=None): | |||
job_info = self.submit_job(self.job_script_path, | |||
exec_from=self.log_path, | |||
callback=callback) | |||
|
|||
self._get_sample_sheet_info() |
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.
Just to confirm, can this be called before the previous line or not (before submitting jobs)? Also, is the plan to unify this functionality in a single place? Maybe _get_sample_sheet_info()
?
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.
This function should only be called after the bcl-convert job returns completed. The output from this method is specific to supporting ConvertJob so there currently isn't a value in pushing it down into the base class. It's name does begin with '_' and so by convention it's an internal method and nobody should be calling it except ConvertJob.run().
Method allows caller to copy the fastq files associated w/a sample-name and a project into another project.
Needs unit-tests.