correct argparser
This commit is contained in:
parent
17b580638f
commit
6be5c5aeb8
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ def argparser() -> argparse.ArgumentParser:
|
|||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
'-s', '--start',
|
||||
description="Dandiset ID (int) to start scraping (default 1)",
|
||||
help="Dandiset ID (int) to start scraping (default 1)",
|
||||
default=1,
|
||||
type=int
|
||||
)
|
||||
|
@ -105,7 +105,7 @@ def argparser() -> argparse.ArgumentParser:
|
|||
|
||||
def main():
|
||||
args = argparser().parse_args()
|
||||
|
||||
|
||||
for i in trange(args.start, MAX_DANDISET):
|
||||
try:
|
||||
res = download_dandiset(i)
|
||||
|
|
Loading…
Reference in a new issue