Skip to content

Commit b7fc345

Browse files
committed
🚧 use unique weights file names in tests
1 parent 6b3c63b commit b7fc345

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/functional/filter/cram/subsample-weighted-and-uniform-mix.t

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Generate metadata file with 250 rows.
1515

1616
Weight locations A:B as 2:1. This is reflected in target_group_sizes.tsv below.
1717

18-
$ cat >weights.tsv <<~~
18+
$ cat >weights-A2B1.tsv <<~~
1919
> location weight
2020
> A 2
2121
> B 1
@@ -24,7 +24,7 @@ Weight locations A:B as 2:1. This is reflected in target_group_sizes.tsv below.
2424
$ ${AUGUR} filter \
2525
> --metadata metadata.tsv \
2626
> --group-by location \
27-
> --group-by-weights weights.tsv \
27+
> --group-by-weights weights-A2B1.tsv \
2828
> --subsample-max-sequences 100 \
2929
> --subsample-seed 0 \
3030
> --output-group-by-sizes target_group_sizes.tsv \
@@ -37,7 +37,7 @@ Weight locations A:B as 2:1. This is reflected in target_group_sizes.tsv below.
3737

3838
Using 1:1 weights is similarly straightforward, with 50 sequences from each location.
3939

40-
$ cat >weights.tsv <<~~
40+
$ cat >weights-A1B1.tsv <<~~
4141
> location weight
4242
> A 1
4343
> B 1
@@ -46,7 +46,7 @@ Using 1:1 weights is similarly straightforward, with 50 sequences from each loca
4646
$ ${AUGUR} filter \
4747
> --metadata metadata.tsv \
4848
> --group-by location \
49-
> --group-by-weights weights.tsv \
49+
> --group-by-weights weights-A1B1.tsv \
5050
> --subsample-max-sequences 100 \
5151
> --subsample-seed 0 \
5252
> --output-group-by-sizes target_group_sizes.tsv \
@@ -65,7 +65,7 @@ available per location.
6565
$ ${AUGUR} filter \
6666
> --metadata metadata.tsv \
6767
> --group-by year location \
68-
> --group-by-weights weights.tsv \
68+
> --group-by-weights weights-A1B1.tsv \
6969
> --subsample-max-sequences 100 \
7070
> --subsample-seed 0 \
7171
> --output-group-by-sizes target_group_sizes.tsv \
@@ -90,7 +90,7 @@ requested 17, so the total number of sequences outputted is lower than requested
9090
$ ${AUGUR} filter \
9191
> --metadata metadata.tsv \
9292
> --group-by year location \
93-
> --group-by-weights weights.tsv \
93+
> --group-by-weights weights-A1B1.tsv \
9494
> --subsample-max-sequences 100 \
9595
> --subsample-seed 0 \
9696
> --output-group-by-sizes target_group_sizes.tsv \

0 commit comments

Comments
 (0)