Skip to content

Commit 6812085

Browse files
committed
edited docs
1 parent 0491b28 commit 6812085

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ resolution
1616
- Added removal of duplicate IDs from `reads_download` component input.
1717
- Added seed parameter to `downsample_fastq` component.
1818
- Added default docker option to avoid docker permission errors.
19+
- Added tests for `mash_screen`, `mash_dist`, `mapping_patlas` related python
20+
templates
1921

2022
### Bug fixes
2123

docs/dev/create_template.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,16 @@ Versioning and logging
8585
FlowCraft has a specific ``logger``
8686
(:func:`~flowcraft.templates.flowcraft_utils.flowcraft_base.get_logger`) and
8787
versioning system that can be imported from
88-
:mod:`flowcraft.templates.flowcraft_utils`: ::
88+
:mod:`flowcraft.templates.flowcraft_utils` as follows: ::
8989

9090
# the module that imports the logger and the decorator class for versioning
9191
# of the script itself and other software used in the script
92-
from flowcraft_utils.flowcraft_base import get_logger, MainWrapper
93-
92+
try:
93+
from flowcraft_utils.flowcraft_base import get_logger, MainWrapper
94+
except ImportError:
95+
from flowcraft.templates.flowcraft_utils.flowcraft_base import get_logger, MainWrapper
9496

97+
The ``try/except`` is used for test purposes.
9598

9699
Logger
97100
^^^^^^

0 commit comments

Comments
 (0)