Skip to content

Commit

Permalink
chore(preprocessor): remove alternative type indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
BinglanLi committed Jul 8, 2024
1 parent 2f00c6c commit 60b23c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preprocessor/preprocessor/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def _is_valid_chr(vcf_file: Path) -> bool:

def extract_pgx_regions(pharmcat_positions: Path, vcf_files: List[Path], samples: List[str],
output_dir: Path, output_basename: str,
retain_specific_regions: bool = False, reference_regions_to_retain: Path | None = None,
retain_specific_regions: bool = False, reference_regions_to_retain: Path = None,
concurrent_mode: bool = False, max_processes: int = 1,
verbose: int = 0) -> Path:
"""
Expand Down Expand Up @@ -687,7 +687,7 @@ def extract_pgx_regions(pharmcat_positions: Path, vcf_files: List[Path], samples

def _extract_pgx_regions(pharmcat_positions: Path, vcf_file: Path, sample_file: Path, output_dir: Path,
output_basename: Optional[str],
retain_specific_regions: bool = False, reference_regions_to_retain: Path | None = None,
retain_specific_regions: bool = False, reference_regions_to_retain: Path = None,
verbose: int = 0) -> Path:
"""
Does the actual work to extract PGx regions from input VCF file(s) into a single VCF file and
Expand Down

0 comments on commit 60b23c8

Please sign in to comment.