Update extractSubsetShapedata

move set -e to new line