Some fresh air

This commit is contained in:
Yael-II
2024-11-28 18:02:44 +01:00
commit 4a2ccf854c
9 changed files with 1885 additions and 0 deletions

16
Astrobs-Tools.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
source activate.sh
if ! command -v python3 2>&1 >/dev/null; then
printf "\033[91mError: Please install python3 or newer version\033[0m\n"
else
version=$(pip3 freeze | sed -r "s/==|\./ /g" | awk '$1 == "astropy" {print $2}')
if [ -z $version ]; then
printf "\033[91mError: Astropy 6.0 is required\033[0m\n"
elif [ $version -lt 6 ]; then
printf "\033[91mError: Please install astropy 6.0 or newer version\033[0m\n"
else
clear
python Source/ASTROBS_SELECT_v1.py
fi
fi