summaryrefslogtreecommitdiff
path: root/src/converter/libConverter.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/converter/libConverter.py')
-rw-r--r--src/converter/libConverter.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/converter/libConverter.py b/src/converter/libConverter.py
index 4ac4d354..3c30f7d3 100644
--- a/src/converter/libConverter.py
+++ b/src/converter/libConverter.py
@@ -22,10 +22,12 @@ class PspiceLibConverter:
# Construct the full path to libParser.py
parser_path = os.path.join(script_dir, relative_parser_path)
- print(parser_path)
+ print("Parser Path:",parser_path)
# Prepare the command as a list
- command = ["python3", "libParser.py", file_path]
+ output_dir = os.path.dirname(file_path)
+
+ command = ["python3", "libparser.py", file_path, output_dir]
print(f"Running command: {' '.join(command)} in directory: {parser_path}")
try: