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

Pip 1537 nested scatter #36

Merged
merged 7 commits into from
May 13, 2021
Merged

Pip 1537 nested scatter #36

merged 7 commits into from
May 13, 2021

Conversation

leepc12
Copy link
Contributor

@leepc12 leepc12 commented Apr 26, 2021

Hot fix for nested scatters.
There is no circleci testing for croo yet.
Tested with atac, chip, hic and some toy WDLs with subworkflows and nested scatters.

@leepc12 leepc12 requested a review from paul-sud April 26, 2021 23:05
Copy link
Contributor

@paul-sud paul-sud left a comment

Choose a reason for hiding this comment

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

Some small comments. I think this PR would greatly benefit from tests too. You mentioned "a test toy problem with complex subworkflows", could you add it here? I don't think we need CircleCI right now but at the minimum adding tests with pytest would be good.

croo/cromwell_metadata.py Outdated Show resolved Hide resolved
croo/cromwell_metadata.py Outdated Show resolved Hide resolved
@leepc12
Copy link
Contributor Author

leepc12 commented May 12, 2021

@paul-sud: I added pytests to test subworkflows and nested scatters. I will make a new ticket/PR for CircleCI and more refactoring.

@leepc12 leepc12 requested a review from paul-sud May 12, 2021 16:09
Copy link
Contributor

@paul-sud paul-sud left a comment

Choose a reason for hiding this comment

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

Overall looks OK, but we might want to consider storing the metadata JSONs for the tests instead of creating them every time. Then tests will run much faster and test fixtures will be simpler. You could still keep the WDL around in case you need to recreate them.

@leepc12
Copy link
Contributor Author

leepc12 commented May 13, 2021

@paul-sud Yep, fixed as you suggested.

@leepc12 leepc12 requested a review from paul-sud May 13, 2021 01:17
@leepc12 leepc12 merged commit 11c235c into dev May 13, 2021
@leepc12 leepc12 deleted the PIP-1537_nested_scatter branch May 13, 2021 21:28
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