-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix poetry error during ci image build
- Loading branch information
Showing
5 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import asyncio | ||
from pathlib import Path | ||
from types import SimpleNamespace | ||
|
||
from pyfixtures import fixture | ||
|
||
|
||
@fixture | ||
async def bowtie_index_path(work_path: Path) -> Path: | ||
"""The output directory for the subtraction's Bowtie2 index.""" | ||
path = work_path / "bowtie" | ||
await asyncio.to_thread(path.mkdir) | ||
|
||
return path | ||
|
||
|
||
@fixture | ||
async def decompressed_fasta_path(work_path: Path) -> Path: | ||
"""The path to the input FASTA file for the subtraction.""" | ||
return work_path / "subtraction.fa" | ||
|
||
|
||
@fixture | ||
def intermediate() -> SimpleNamespace: | ||
"""A namespace for intermediate variables.""" | ||
return SimpleNamespace() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters