aboutsummaryrefslogtreecommitdiffhomepage
path: root/Model Repositories/model_renamer.py
diff options
context:
space:
mode:
authorThomas Van Iseghem <[email protected]>2023-03-09 20:22:56 +0100
committerThomas Van Iseghem <[email protected]>2023-03-09 20:22:56 +0100
commitd7814640a57323fc3fb410831e8d26083c7e0067 (patch)
treebfc493da2115890c0b78fa5ae9cff7fd30c27deb /Model Repositories/model_renamer.py
parent83728ae0b6584fcfec776abbb47afa1d12de6b24 (diff)
parent03c976530b91ab70510479bbc75c04cbe4c6d979 (diff)
downloadOpenCortex-develop.tar.gz
OpenCortex-develop.zip
Merge branch 'feature/docker-dev-environment' into developdevelop
Diffstat (limited to 'Model Repositories/model_renamer.py')
-rw-r--r--Model Repositories/model_renamer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Model Repositories/model_renamer.py b/Model Repositories/model_renamer.py
index 382e5c1..13d929d 100644
--- a/Model Repositories/model_renamer.py
+++ b/Model Repositories/model_renamer.py
@@ -5,7 +5,7 @@ import json
import xml.etree.ElementTree as ET
parser = argparse.ArgumentParser(description='Rename the models in an XML file')
-parser.add_argument('--original', metavar='xml_file', type=str, help='The XML file to be parsed')
+parser.add_argument('--original', metavar='xml_file', type=str, help='The XML file to be parsed', required=True)
parser.add_argument('--out', metavar='output_file', type=str, default='ModelRepo_generated.xml', help='The output file', const='ModelRepo_generated.xml', nargs='?')
args = parser.parse_args()