Skip to content

Commit 957b8cf

Browse files
committed
Remove the databases and hostremoval params
1 parent 52edc2d commit 957b8cf

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

cg/meta/workflow/taxprofiler.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ def __init__(
3838
self.revision: str = config.taxprofiler.revision
3939
self.tower_binary_path: str = config.tower_binary_path
4040
self.tower_workflow: str = config.taxprofiler.tower_workflow
41-
self.hostremoval_reference: Path = Path(config.taxprofiler.hostremoval_reference)
42-
self.databases: Path = Path(config.taxprofiler.databases)
4341
self.account: str = config.taxprofiler.slurm.account
4442
self.email: str = config.taxprofiler.slurm.mail_user
4543
self.nextflow_binary_path: str = config.taxprofiler.binary_path
@@ -86,8 +84,6 @@ def get_built_workflow_parameters(self, case_id: str) -> TaxprofilerParameters:
8684
return TaxprofilerParameters(
8785
input=self.get_sample_sheet_path(case_id=case_id),
8886
outdir=self.get_case_path(case_id=case_id),
89-
databases=self.databases,
90-
hostremoval_reference=self.hostremoval_reference,
9187
)
9288

9389
def get_multiqc_search_patterns(self, case_id: str) -> dict:

cg/models/cg_config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ class TaxprofilerConfig(CommonAppConfig):
273273
params: str
274274
config: str
275275
resources: str
276-
databases: str
277-
hostremoval_reference: str
278276
workflow_bin_path: str
279277
profile: str
280278
revision: str

cg/models/taxprofiler/taxprofiler.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ class TaxprofilerQCMetrics(BaseModel):
2020

2121

2222
class TaxprofilerParameters(WorkflowParameters):
23-
"""Model for Taxprofiler parameters."""
24-
25-
databases: Path
26-
hostremoval_reference: Path
23+
"""Taxprofiler parameters."""
2724

2825

2926
class TaxprofilerSampleSheetEntry(NextflowSampleSheetEntry):

tests/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,9 +2167,7 @@ def context_config(
21672167
"resources": str(nf_analysis_pipeline_resource_optimisation_path),
21682168
"launch_directory": Path("path", "to", "launchdir").as_posix(),
21692169
"workflow_bin_path": Path("workflow", "path").as_posix(),
2170-
"databases": Path("path", "to", "databases").as_posix(),
21712170
"profile": "myprofile",
2172-
"hostremoval_reference": Path("path", "to", "hostremoval_reference").as_posix(),
21732171
"revision": "2.2.0",
21742172
"slurm": {
21752173
"account": "development",

0 commit comments

Comments
 (0)