mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +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 = argparse.ArgumentParser(description="Dataset class")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-f",
|
"filename",
|
||||||
"--filename",
|
|
||||||
type=str,
|
type=str,
|
||||||
required=True,
|
|
||||||
help="Path to the JSON file to load",
|
help="Path to the JSON file to load",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Reference in New Issue
Block a user