-
Notifications
You must be signed in to change notification settings - Fork 1
CorrectAllCoordinates
Adrian Quintana edited this page Dec 11, 2017
·
1 revision
#!/bin/sh
# modify pos file to move those coordinates near to the border
INPUT=$#
case $INPUT in
# if not enough data show help
0) echo "$0 micrograph_name(s)"
echo "Input extension tif, ouput extension corrected.pos"
echo "Important: do not forget the \"\" when using wildcards in the image name"
exit ;;
*)
esac
for image in $1 ; do
echo "micrograph= $image"
name=`basename $image .tif`
dir=`dirname $image`
CorrectBorderForMark.py 80 $dir/$name.raw.inf $dir/$name.raw.Common.pos $dir/$name.raw.Common_corrected.pos
done