From 7d297ed80564bf618fffc78d0f45e5c356195cbe Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 24 Oct 2024 01:10:06 +0200 Subject: [PATCH] fixup! correct typos, adapt chmod of bash scripts Signed-off-by: Matthias --- batch_get_username.sh | 4 +--- get_sequences_of_username.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) mode change 100755 => 100644 batch_get_username.sh diff --git a/batch_get_username.sh b/batch_get_username.sh old mode 100755 new mode 100644 index e67e769..da8cab1 --- a/batch_get_username.sh +++ b/batch_get_username.sh @@ -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 ------------" \ No newline at end of file diff --git a/get_sequences_of_username.py b/get_sequences_of_username.py index 251445f..3fe8f1c 100644 --- a/get_sequences_of_username.py +++ b/get_sequences_of_username.py @@ -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)