Skip to content

Commit

Permalink
e2e test more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
juli-p committed Oct 2, 2023
1 parent e1924ee commit 3153e34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/e2e/test_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,21 @@ python ./run/NeEDL.py \

# check that no NA values are present
for dir in "$out_dir"/* ; do
echo "NAN Check: entering directory '$dir'"

if [ -f "$dir/BIOGRID_seeds.csv" ]; then
if grep -Fxq "nan" "$dir/BIOGRID_seeds.csv"; then
die 1 "'nan' found in $dir/BIOGRID_seeds.csv"
elif
echo "NAN Check: $dir/BIOGRID_seeds.csv passed"
fi
fi

if [ -f "$dir/BIOGRID_results.csv" ]; then
if grep -Fxq "nan" "$dir/BIOGRID_results.csv"; then
die 1 "'nan' found in $dir/BIOGRID_results.csv"
elif
echo "NAN Check: $dir/BIOGRID_results.csv passed"
fi
fi

Expand Down

0 comments on commit 3153e34

Please sign in to comment.