Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CeSam_TOOLS
photos_montage_aladin
Commits
7c9c9069
Commit
7c9c9069
authored
Mar 12, 2019
by
Julien Penguen
Browse files
nettoyage version macos
parent
37bef90f
Changes
1
Hide whitespace changes
Inline
Side-by-side
photos_montage_aladin_osx.sh
View file @
7c9c9069
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment