Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug fix: allow uppercase log filename in download_data.py #2508

Merged
merged 16 commits into from
Jan 10, 2025
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions run/shared/download_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,14 +722,16 @@ def parse_args():

# Parse command-line arguments (argument 0 is the program name)
for i in range(1, len(sys.argv)):
arg = sys.argv[i].lower()
arg = arg.lstrip('-')
arg = sys.argv[i]

if not dryrun_found:
dryrun_log = arg
dryrun_found = True
continue

# Normalize arguments other than dryrun_log
arg = arg.lower().lstrip('-')

if not mirror_found:
for mir in mirror_list:
mirror = mir.lower()
Expand Down