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

Set shortRead to True and update unit test #433

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nmdc_automation/config/workflows/workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Workflows:
Inputs:
input_files: do:Filtered Sequencing Reads
proj: "{workflow_execution_id}"
shortRead: false
shortRead: true
Workflow Execution:
name: "Metagenome Assembly for {id}"
type: nmdc:MetagenomeAssembly
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sched.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def test_scheduler_create_job_rec_has_input_files_as_array(test_db, mock_api, wo
assembly = assemblies[0]

assert isinstance(assembly["config"]["inputs"]["shortRead"], bool)
assert assembly["config"]["inputs"]["shortRead"] == False
assert assembly["config"]["inputs"]["shortRead"] == True
assert isinstance(assembly["config"]["inputs"]["input_files"], list)