correct typos, adapt chmod of bash scripts #2

Merged
tykayn merged 3 commits from matthias/mapillary_download:bugfix/typos into tykayn/batch-get-mapillary-sequences 2024-10-24 21:36:59 +02:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 7d297ed805 - Show all commits

4
batch_get_username.sh Executable file → Normal file
View File

@ -28,8 +28,6 @@ echo "---------- utilisateur: $username"
if [ ! -f "out_$username.json" ]; then
bash find_user_id.sh $username
#FIXME: find_user_id.sh is not part of this repo. maybe get_user.sh?
#FIXME: also check if file is empty?
fi
# Vérifier si le fichier sequences_$username.txt existe
if [ ! -f "sequences_$username.txt" ]; then
@ -43,4 +41,4 @@ echo "---------- utilisateur: $username"
fi
done
echo "---------- finished getting users ------------"
echo "---------- finished getting users ------------"

View File

@ -9,7 +9,7 @@ def parse_args(argv =None):
parser = argparse.ArgumentParser()
parser.add_argument('--username', type=str, help='Username to get the sequences id of', required=True)
parser.add_argument('--dev_token', type=str, help='Your mapillary developer token')
parser.add_argument('--max_sequence', type=str, help='Username to get the sequences id of')
parser.add_argument('--max_sequence', type=str, help='Limit the amount of retrieved sequence ids')
global args
args = parser.parse_args(argv)