From 281b54edd1be9ea16a4bf89699262c2bed565623 Mon Sep 17 00:00:00 2001 From: Diogo Silva Date: Thu, 15 Nov 2018 11:49:11 +0000 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: tiagofilipe12 --- changelog.md | 2 +- flowcraft/tests/template_tests/test_mapping2json.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 0d422fd1..c162d329 100644 --- a/changelog.md +++ b/changelog.md @@ -31,7 +31,7 @@ resolution - Added seed parameter to `downsample_fastq` component. - Added bacmet database to `abricate` component. - Added default docker option to avoid docker permission errors. -- Added tests for `mash_screen`, `mash_dist`, `mapping_patlas` related python +- Added tests for `mash_screen`, `mash_dist`, `mapping_patlas` python templates - Changed the default URL generated by inspect and report commands. diff --git a/flowcraft/tests/template_tests/test_mapping2json.py b/flowcraft/tests/template_tests/test_mapping2json.py index ec6180bd..3e2b6bab 100644 --- a/flowcraft/tests/template_tests/test_mapping2json.py +++ b/flowcraft/tests/template_tests/test_mapping2json.py @@ -61,7 +61,7 @@ def test_depth_file_reader(tmpdir): """ # create a temporary file to make a dict from - file = tmpdir.join("test_depth_file.txt") + file_handle = tmpdir.join("test_depth_file.txt") file.write("seq1\t1\t30") # execute the function to get the dict