Commit 7c9c9069 authored by Julien Penguen's avatar Julien Penguen
Browse files

nettoyage version macos

parent 37bef90f
......@@ -324,13 +324,10 @@ function_build_tab_hach()
done
done
# echo "elements_ok="$elements_ok
# echo "total ${#@}"
if [ "$val_error" == "FALSE" ]; then
# echo "val_error false"
if [ "$elements_ok" -ne "${#@}" ]; then
# echo "val_error true"
val_error="TRUE"
message="Option not found"
......@@ -983,15 +980,6 @@ fi
#---------------------#
for k in ${!sort_arg_weight[*]}
do
echo "sort_arg_keys[$k]=${sort_arg_keys[$k]}"
echo "sort_arg_values[$k]=${sort_arg_values[$k]}"
echo "sort_arg_weight[$k]=${sort_arg_weight[$k]}"
done
#=============================================================#
#=============================================================#
#=============================================================#
......@@ -1289,7 +1277,6 @@ case ${sort_arg_keys[0]} in
new_images_folder[$k]=${new_area_folder[$k]}"/images"
new_montages_folder[$k]=${new_area_folder[$k]}"/montages"
new_area_ajs[$k]=${new_tempo_folder[$k]}"/area_"${list_zone[$k]}".ajs"
#new_log_aladin_file[$k]=${new_area_folder[$k]}"/"${list_zone[$k]}".log"
#------------------------#
script_images[$k]="macro "${new_area_ajs[$k]}
......@@ -1298,8 +1285,6 @@ case ${sort_arg_keys[0]} in
#------------------------#
#script_images[$k]="macro "${area_ajs[$k]}
#script_montages[$k]="montage -geometry ${RESOLUTION_BY_LINE}x${RESOLUTION_BY_COL} -tile ${NB_TILE_BY_LINE}x${NB_TILE_BY_COL} ${images_folder[$k]}/*jpg ${montages_folder[$k]}/${list_zone[$k]}.png"
xhost +
if [[ "${sort_arg_keys[@]}" =~ "--mount" && $VOLUME_MOUNT != "NONE" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment