From 47699169a4e5c1ea0a731be774ecf44b8e059acb Mon Sep 17 00:00:00 2001 From: kamangir Date: Sun, 12 Jan 2025 21:33:27 -0800 Subject: [PATCH] error checks - kamangir/bolt#746 --- README.md | 2 +- roofAI/.abcli/dataset/ingest.sh | 2 ++ roofAI/__init__.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 817bc9a6..b76f08c0 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,4 @@ pip install roofAI [![pylint](https://github.com/kamangir/roofAI/actions/workflows/pylint.yml/badge.svg)](https://github.com/kamangir/roofAI/actions/workflows/pylint.yml) [![pytest](https://github.com/kamangir/roofAI/actions/workflows/pytest.yml/badge.svg)](https://github.com/kamangir/roofAI/actions/workflows/pytest.yml) [![bashtest](https://github.com/kamangir/roofAI/actions/workflows/bashtest.yml/badge.svg)](https://github.com/kamangir/roofAI/actions/workflows/bashtest.yml) [![PyPI version](https://img.shields.io/pypi/v/roofAI.svg)](https://pypi.org/project/roofAI/) [![PyPI - Downloads](https://img.shields.io/pypi/dd/roofAI)](https://pypistats.org/packages/roofAI) -built by 🌀 [`blue_options-4.185.1`](https://github.com/kamangir/awesome-bash-cli), based on 🏛️ [`roofAI-5.20.1`](https://github.com/kamangir/roofAI). +built by 🌀 [`blue_options-4.185.1`](https://github.com/kamangir/awesome-bash-cli), based on 🏛️ [`roofAI-5.21.1`](https://github.com/kamangir/roofAI). diff --git a/roofAI/.abcli/dataset/ingest.sh b/roofAI/.abcli/dataset/ingest.sh index 62584546..0089f370 100644 --- a/roofAI/.abcli/dataset/ingest.sh +++ b/roofAI/.abcli/dataset/ingest.sh @@ -90,6 +90,7 @@ Dataset is downloaded from https://github.com/alexgkendall/SegNet-Tutorial "kaggle datasets download \ -d atilol/aerialimageryforroofsegmentation \ -p ./" + [[ $? -ne 0 ]] && return 1 abcli_eval dryrun=$do_dryrun,path=$ABCLI_OBJECT_ROOT/$cache_object_name \ "unzip aerialimageryforroofsegmentation.zip" @@ -107,6 +108,7 @@ Dataset is downloaded from https://github.com/alexgkendall/SegNet-Tutorial --ingest_path $object_path \ "$args" \ "${@:3}" + [[ $? -ne 0 ]] && return 1 [[ "$do_dryrun" == 0 ]] && abcli_cat $object_path/metadata.yaml diff --git a/roofAI/__init__.py b/roofAI/__init__.py index 313db16e..2f16102a 100644 --- a/roofAI/__init__.py +++ b/roofAI/__init__.py @@ -4,7 +4,7 @@ DESCRIPTION = f"{ICON} everything AI about roofs." -VERSION = "5.20.1" +VERSION = "5.21.1" MARQUEE = "https://github.com/kamangir/assets/blob/main/2023-10-28-16-28-36-88493-predict.gif?raw=true"