mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-04 21:28:12 +02:00
made filename a positional argument
This commit is contained in:
@ -221,10 +221,8 @@ if __name__ == "__main__":
|
||||
|
||||
parser = argparse.ArgumentParser(description="Dataset class")
|
||||
parser.add_argument(
|
||||
"-f",
|
||||
"--filename",
|
||||
"filename",
|
||||
type=str,
|
||||
required=True,
|
||||
help="Path to the JSON file to load",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
Reference in New Issue
Block a user