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: bump time of ngs_mapping/bam_collect_doc #394

Merged
merged 2 commits into from
Jul 17, 2023
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 snappy_pipeline/workflows/ngs_mapping/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ def get_resource_usage(self, action):
self._check_action(action)
return ResourceUsage(
threads=1,
time="04:00:00",
time="24:00:00",
memory="2G",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def test_generate_doc_files_step_part_run_get_log_file(ngs_mapping_workflow):

def test_generate_doc_files_step_part_get_resource(ngs_mapping_workflow):
"""Tests BamCollectDocStepPart.get_resource()"""
expected_dict = {"threads": 1, "time": "04:00:00", "memory": "2G", "partition": "medium"}
expected_dict = {"threads": 1, "time": "24:00:00", "memory": "2G", "partition": "medium"}
for resource, expected in expected_dict.items():
actual = ngs_mapping_workflow.get_resource("bam_collect_doc", "run", resource)
assert actual == expected
Expand Down