Skip to content

Commit 942807a

Browse files
committed
fix: no longer require rna processing type
1 parent 0288e1a commit 942807a

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

main/como/rnaseq_preprocess.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ async def rnaseq_preprocess(
578578
output_gene_info_filepath: Path,
579579
como_context_dir: Path | None = None,
580580
input_matrix_filepath: Path | list[Path] | None = None,
581-
preparation_method: RNAPrepMethod | list[RNAPrepMethod] | None = None,
582581
output_trna_config_filepath: Path | None = None,
583582
output_mrna_config_filepath: Path | None = None,
584583
output_trna_count_matrix_filepath: Path | None = None,
@@ -601,8 +600,7 @@ async def rnaseq_preprocess(
601600
:param output_mrna_count_matrix_filepath: The path to write messenger RNA count matrices
602601
:param como_context_dir: If in "create" mode, the input path(s) to the COMO_input directory of the current context
603602
i.e., the directory containing "fragmentSizes", "geneCounts", "insertSizeMetrics", etc. directories
604-
:param input_matrix_filepath: If in "provide" mode, the path(s) to the count matrices to be processed
605-
:param preparation_method: The preparation method
603+
:param input_matrix_filepath: If in "provide" mode, the path(s) to the count matrices to be processed~
606604
:param cache: Should HTTP requests be cached
607605
:param log_level: The logging level
608606
:param log_location: The logging location
@@ -636,13 +634,6 @@ async def rnaseq_preprocess(
636634
)
637635

638636
input_matrix_filepath = _listify(input_matrix_filepath)
639-
preparation_method = _listify(preparation_method)
640-
641-
if len(input_matrix_filepath) != len(preparation_method):
642-
raise ValueError(
643-
"input_matrix_filepath (--input-matrix-filepath) and "
644-
"preparation_method (--preparation-method) must be the same length."
645-
)
646637
await _process(
647638
context_name=context_name,
648639
taxon=taxon,

0 commit comments

Comments
 (0)