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

fix add_default_workflow #3446

Merged
merged 4 commits into from
Jan 3, 2025

Conversation

antgonza
Copy link
Member

No description provided.

@antgonza antgonza changed the title fix add_default_workflow WIP: fix add_default_workflow Dec 12, 2024
@coveralls
Copy link

coveralls commented Dec 12, 2024

Coverage Status

coverage: 92.617% (-0.005%) from 92.622%
when pulling 843bbea on antgonza:fix-add_default_workflow
into ea0a7ec on qiita-spots:dev.

@antgonza antgonza changed the title WIP: fix add_default_workflow fix add_default_workflow Dec 16, 2024
@antgonza
Copy link
Member Author

FWIW, this was tested in qiita via a terminal and it works as expected.

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.

Ty for your patience! I have one concern.

qiita_db/metadata_template/prep_template.py Show resolved Hide resolved
@@ -871,7 +881,7 @@ def _get_predecessors(workflow, node):
'artifact transformation']
merging_schemes = {
qdb.archive.Archive.get_merging_scheme_from_job(j): {
x: y.id for x, y in j.outputs.items()}
x: str(y.id) for x, y in j.outputs.items()}
Copy link
Contributor

@charles-cowart charles-cowart Dec 17, 2024

Choose a reason for hiding this comment

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

The conversion to string for y.id is also not obvious here. Perhaps a comment as to why it's necessary would be appropriate?

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.

@charles-cowart charles-cowart merged commit ede77b4 into qiita-spots:dev Jan 3, 2025
4 checks passed
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.

3 participants