output prediction before parsing
set -e
TMPDIR=$(mktemp -d)
-networkml ./tests/test_data/trace_ab12_2001-01-01_02_03-client-ip-1-2-3-4.pcap -o $TMPDIR --first_stage parser --final_stage algorithm --operation predict
+networkml ./tests/test_data/trace_ab12_2001-01-01_02_03-client-ip-1-2-3-4.pcap -o $TMPDIR --first_stage parser --final_stage algorithm --operation predic
+cat $TMPDIR/predict.json
LABEL=$(jq < $TMPDIR/predict.json '[0].data.mac_addresses["00:04:00:81:81:d0"]["classification"]["labels"][0]')
if [[ "$LABEL" == "" ]] ; then
echo FAIL: no result from prediction
