Commit
·
13c17fc
1
Parent(s):
717600d
Update CLI argument parsing to use optional flags and add .egg-info to .gitignore
Browse files- .gitignore +2 -1
- medvqa/cli.py +4 -3
.gitignore
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
.venv
|
2 |
-
build
|
|
|
|
1 |
.venv
|
2 |
+
build
|
3 |
+
medvqa.egg-info
|
medvqa/cli.py
CHANGED
@@ -13,10 +13,11 @@ Try installing latest version of the library by running the following command:
|
|
13 |
def main():
|
14 |
print("MedVQA CLI")
|
15 |
parser = argparse.ArgumentParser(description='MedVQA CLI')
|
16 |
-
parser.add_argument('competition', type=str,
|
17 |
help='Name of the competition (e.g., gi-2025)')
|
18 |
-
parser.add_argument('task', type=str,
|
19 |
-
|
|
|
20 |
help='Path to the submission repository')
|
21 |
|
22 |
args = parser.parse_args()
|
|
|
13 |
def main():
|
14 |
print("MedVQA CLI")
|
15 |
parser = argparse.ArgumentParser(description='MedVQA CLI')
|
16 |
+
parser.add_argument('--competition', type=str, required=True,
|
17 |
help='Name of the competition (e.g., gi-2025)')
|
18 |
+
parser.add_argument('--task', type=str, required=True,
|
19 |
+
help='Task number (1 or 2)')
|
20 |
+
parser.add_argument('--submission_repo', type=str, required=True,
|
21 |
help='Path to the submission repository')
|
22 |
|
23 |
args = parser.parse_args()
|