Skip to content

improve summary #41

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

Merged
merged 2 commits into from
Jun 23, 2022
Merged

Conversation

antgonza
Copy link
Member

No description provided.

@antgonza antgonza changed the title improve summary WIP: improve summary Jun 22, 2022
@antgonza antgonza changed the title WIP: improve summary improve summary Jun 23, 2022
@antgonza antgonza requested a review from charles-cowart June 23, 2022 14:01
Copy link
Contributor

@charles-cowart charles-cowart left a comment

Choose a reason for hiding this comment

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

Everything looks in order, but would like clarification on the unittests.

@@ -115,7 +129,7 @@ def test_validate_multiple_error(self):
"1.SKB3.640195": {"run_prefix": "prefix2"}}
files = {'Unknown': ['/path/to/file1.fastq']}
atype = "FASTQ"
job_id = self._create_template_and_job(prep_info, files, atype)
job_id, _ = self._create_template_and_job(prep_info, files, atype)
Copy link
Contributor

Choose a reason for hiding this comment

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

@antgonza Don't you think that parameters should be checked as well, now that they're being returned? It seems like this function is only getting half-tested.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you mean _create_template_and_job? If yes, that's a test help method to avoid duplication of code; thus not really needed to be tested; in other words, we normally don't write tests for the tests. If not, which function are you talking about?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah I see. Yes, that's the one.

Copy link
Contributor

@charles-cowart charles-cowart left a comment

Choose a reason for hiding this comment

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

Approved. Everything looks good.

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