Skip to content

Commit

Permalink
add -T (temporary file prefix) flag to collate step
Browse files Browse the repository at this point in the history
remove unneeded warn from test
  • Loading branch information
dozy committed Dec 15, 2023
1 parent 289d636 commit 5b44301
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions data/vtlib/pib_reanalysis.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
"-l", {"subst":"pib_reanalysis_collate_compression","required":true,"ifnull":["0"]},
"--threads", {"subst":"pib_reanalysis_collate_threads","required":true,"ifnull":4},
{"subst":"pib_reanalysis_collate_extra_flags", "required":false},
{"subst":"pib_collate_tempfile_flag","ifnull":{
"subst_constructor":{
"vals":[
"-T",
{"subst":"pib_collate_tempfile_prefix","required":false, "ifnull":{"subst_constructor":{"vals":[ {"subst":"qc_check_id_run"}, {"subst":"s1_lane"}, "collate_tmp"], "postproc":{"op":"concat","pad":"_"}}}}
]
}}},
"-"
]
}
Expand Down
1 change: 0 additions & 1 deletion t/10-vtfp-vtfile_v2.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use File::Temp qw(tempdir);
use Cwd;

my $tdir = tempdir(CLEANUP => 1);
warn q[tdir: ], $tdir;

my $odir = getcwd();
my $test = Test::Cmd->new( prog => $odir.'/bin/vtfp.pl', workdir => q());
Expand Down

0 comments on commit 5b44301

Please sign in to comment.