Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dorien-er committed Jan 30, 2024
1 parent 557f540 commit eec3aad
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/busco/busco/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ echo "$(busco --version 2>&1 | sed -n 's/BUSCO \([0-9.]*\)/\1/p')"
--output_dir output

echo ">> Checking output"
[ ! -f "output/short_summary.specific.stramenopiles_odb10.protein.fasta.json" ] && echo "specific_short_summary.json does not exist" && exit 1
[ ! -f "output/short_summary.specific.stramenopiles_odb10.protein.fasta.txt" ] && echo "specific_short_summary.txt does not exist" && exit 1
[ ! -f "output/run_stramenopiles_odb10/full_table.tsv" ] && echo "full_table.tsv does not exist" && exit 1
[ ! -f "output/run_stramenopiles_odb10/missing_busco_list.tsv" ] && echo "missing_busco_list.tsv does not exist" && exit 1
[ ! -f "output/run_stramenopiles_odb10/short_summary.json" ] && echo "short_summary.json does not exist" && exit 1
[ ! -f "output/run_stramenopiles_odb10/short_summary.txt" ] && echo "short_summary.txt does not exist" && exit 1

echo ">> Checking if output is empty"
[ ! -s "output/short_summary.specific.stramenopiles_odb10.protein.fasta.json" ] && echo "specific_short_summary.json is empty" && exit 1
[ ! -s "output/short_summary.specific.stramenopiles_odb10.protein.fasta.txt" ] && echo "specific_short_summary.txt is empty" && exit 1
[ ! -s "output/run_stramenopiles_odb10/full_table.tsv" ] && echo "full_table.tsv is empty" && exit 1
[ ! -s "output/run_stramenopiles_odb10/missing_busco_list.tsv" ] && echo "missing_busco_list.tsv is empty" && exit 1
[ ! -s "output/run_stramenopiles_odb10/short_summary.json" ] && echo "short_summary.json is empty" && exit 1
Expand Down

0 comments on commit eec3aad

Please sign in to comment.