Skip to content

Commit

Permalink
Update scanpy-scripts-tests.bats - adding additional column of mixed …
Browse files Browse the repository at this point in the history
…content
  • Loading branch information
anilthanki authored Aug 22, 2024
1 parent 47b846f commit 1ac810d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanpy-scripts-tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ setup() {
skip "$singlet_obs exists"
fi

run rm -rf $batch_obs && echo -e "batch\n$(printf "%0.sbatch1\n" {1..1350})\n$(printf "%0.sbatch2\n" {1..1350})" | awk '{if (NR == 1) {print $0; next} if (NR % 100 == 0) {print NR / 100; next} if (NR % 250 == 0) {print ""; next} print $0}' > $batch_obs
run rm -rf $batch_obs && echo -e "batch\tadditional_column\n$(for i in {1..1350}; do echo -e "batch1\tdata$i"; done)\n$(for i in {1..1350}; do echo -e "batch2\tinfo$i"; done)" > $batch_obs

[ "$status" -eq 0 ]
[ -f "$batch_obs" ]
Expand Down

0 comments on commit 1ac810d

Please sign in to comment.