diff options
author | Sumanto Kar | 2025-06-23 16:56:02 +0530 |
---|---|---|
committer | GitHub | 2025-06-23 16:56:02 +0530 |
commit | af3db88ea2e0d4e2e06a648439d84775a02edd23 (patch) | |
tree | b5754b0aac8c9fdb4b7f966a4ad4dce3bda6b986 | |
parent | d39611f9586bb32abe1d2ccd15cefa77798f14a0 (diff) | |
download | eSim-af3db88ea2e0d4e2e06a648439d84775a02edd23.tar.gz eSim-af3db88ea2e0d4e2e06a648439d84775a02edd23.tar.bz2 eSim-af3db88ea2e0d4e2e06a648439d84775a02edd23.zip |
Update libConverter.py
-rw-r--r-- | src/converter/libConverter.py | 5 |
1 files 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: |