Skip to content

Commit d0cbca1

Browse files
committed
dont generate filtered input if not needed...
1 parent 541c3f7 commit d0cbca1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/common/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#define SPLASH_VER "2.11.2"
3+
#define SPLASH_VER "2.11.3"
44

55
inline void SPLASH_VER_PRINT(std::ostream& oss) {
66
oss << "splash version: " << SPLASH_VER << "\n";

src/splash.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _split_lines(self, text, width):
2323
# this is the RawTextHelpFormatter._split_lines
2424
return argparse.HelpFormatter._split_lines(self, text, width)
2525

26-
SPLASH_VERSION="2.11.2"
26+
SPLASH_VERSION="2.11.3"
2727

2828
parser = argparse.ArgumentParser(
2929
prog = "splash",
@@ -1148,6 +1148,7 @@ def stage_1_task(id, input, out, err):
11481148
_predefined_cbc_param = f"--predefined_cbc {predefined_cbc}" if predefined_cbc != "" else ""
11491149
_log_path_param = f"--log_name {cbc_dir}/{sample_name}" if export_cbc_logs else ""
11501150
_filtered_input_path_param = f"--filtered_input_path {export_filtered_input_dir}" if export_filtered_input else ""
1151+
_export_filtered_input_mode_param = "--export_filtered_input_mode second" if export_filtered_input else "--export_filtered_input_mode none"
11511152
_allow_strange_cbc_umi_reads_param = f"--allow_strange_cbc_umi_reads" if allow_strange_cbc_umi_reads else ""
11521153

11531154
file_format = get_file_format_10x_visium(fname)
@@ -1175,7 +1176,7 @@ def stage_1_task(id, input, out, err):
11751176
--poly_ACGT_len {poly_ACGT_len} \
11761177
--technology {technology} \
11771178
{_filtered_input_path_param} \
1178-
--export_filtered_input_mode second \
1179+
{_export_filtered_input_mode_param} \
11791180
{_artifacts_param} \
11801181
{_apply_filter_illumina_adapters_param} \
11811182
{_predefined_cbc_param} \

0 commit comments

Comments
 (0)