Skip to content

Commit

Permalink
Skip signal processing step when no processing is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
suaefar committed Nov 7, 2019
1 parent 24e40a4 commit 50292c5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions run_simulation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ case "${MODE}" in
esac

fade simulation corpus-generate || exit 1
fade simulation processing "${PROCESSING_DIR}" || exit 1
fade simulation corpus-format || exit 1
[ -e "simulation/corpus" ] && rm -rf "simulation/corpus"
fade simulation features "${FEATURES}" "${FEATURES_PROFILE}" || exit 1
if [ -n "${PROCESSING_DIR}" ]; then
fade simulation processing "${PROCESSING_DIR}" || exit 1
[ -e "simulation/corpus" ] && rm -rf "simulation/corpus"
fi
fade simulation features "${FEATURES}" "${FEATURES_PROFILE}" "${FEATURES_UNCERTAINTY}" || exit 1
[ -e "simulation/processing" ] && rm -rf "simulation/processing"
fade simulation training || exit 1
fade simulation recognition || exit 1
Expand Down

0 comments on commit 50292c5

Please sign in to comment.