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

70 validation error in config.yaml for empty fields #71

Merged
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 pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pheval_exomiser"
version = "0.2.5"
version = "0.2.6"
description = ""
authors = ["Yasemin Bridges <y.bridges@qmul.ac.uk>",
"Julius Jacobsen <j.jacobsen@qmul.ac.uk>",
Expand Down
26 changes: 13 additions & 13 deletions src/pheval_exomiser/prepare/tool_specific_configuration_options.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pathlib import Path
from typing import List
from typing import List, Optional

from pydantic import BaseModel, Field

Expand All @@ -20,17 +20,17 @@ class ApplicationProperties(BaseModel):
cache_caffeine_spec (int): Cache limit
"""

remm_version: str = Field(None)
cadd_version: str = Field(None)
hg19_data_version: str = Field(None)
hg19_local_frequency_path: Path = Field(None)
hg19_whitelist_path: Path = Field(None)
hg38_data_version: str = Field(None)
hg38_local_frequency_path: Path = Field(None)
hg38_whitelist_path: Path = Field(None)
phenotype_data_version: str = Field(None)
cache_type: str = Field(None)
cache_caffeine_spec: int = Field(None)
remm_version: Optional[str] = Field(None)
cadd_version: Optional[str] = Field(None)
hg19_data_version: Optional[str] = Field(None)
hg19_local_frequency_path: Optional[Path] = Field(None)
hg19_whitelist_path: Optional[Path] = Field(None)
hg38_data_version: Optional[str] = Field(None)
hg38_local_frequency_path: Optional[Path] = Field(None)
hg38_whitelist_path: Optional[Path] = Field(None)
phenotype_data_version: Optional[str] = Field(None)
cache_type: Optional[str] = Field(None)
cache_caffeine_spec: Optional[int] = Field(None)


class PostProcessing(BaseModel):
Expand Down Expand Up @@ -64,5 +64,5 @@ class ExomiserConfigurations(BaseModel):
analysis_configuration_file: Path = Field(...)
max_jobs: int = Field(...)
application_properties: ApplicationProperties = Field(...)
output_formats: List[str] = Field(None)
output_formats: Optional[List[str]] = Field(None)
post_process: PostProcessing = Field(...)
Loading