Skip to content

Commit

Permalink
Process multiple PRE= args.
Browse files Browse the repository at this point in the history
  • Loading branch information
macklin-10x committed Apr 29, 2024
1 parent 632fd25 commit 528e4f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion enclone_args/src/proc_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,6 @@ pub fn proc_args(ctl: &mut EncloneControl, args: &[String]) -> Result<(), String
"GEX",
"HTML",
"INTERNAL",
"PRE",
"PREPOST",
"SOURCE",
"VERBOSE",
Expand Down
4 changes: 3 additions & 1 deletion enclone_core/src/defs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ impl CellrangerOpt {
cr_opts.cellranger = true;
}
"PRE" => {
cr_opts.pre = get_rest()?.split(',').map(str::to_string).collect();
cr_opts
.pre
.extend(get_rest()?.split(',').map(str::to_string));
}
"REF" => {
cr_opts.refname = ensure_readable_file(get_rest()?, arg_name)?;
Expand Down

0 comments on commit 528e4f8

Please sign in to comment.