From af3db88ea2e0d4e2e06a648439d84775a02edd23 Mon Sep 17 00:00:00 2001 From: Sumanto Kar Date: Mon, 23 Jun 2025 16:56:02 +0530 Subject: Update libConverter.py --- src/converter/libConverter.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/converter/libConverter.py b/src/converter/libConverter.py index b9a4cf5b..3c30f7d3 100644 --- a/src/converter/libConverter.py +++ b/src/converter/libConverter.py @@ -25,10 +25,9 @@ class PspiceLibConverter: print("Parser Path:",parser_path) # Prepare the command as a list - # Get output path without extension (same directory as input) - output_base = os.path.splitext(file_path)[0] + output_dir = os.path.dirname(file_path) - command = ["python3", "libparser.py", file_path, output_base] + command = ["python3", "libparser.py", file_path, output_dir] print(f"Running command: {' '.join(command)} in directory: {parser_path}") try: -- cgit