diff options
author | Sumanto Kar | 2025-06-23 15:16:58 +0530 |
---|---|---|
committer | GitHub | 2025-06-23 15:16:58 +0530 |
commit | ddac0cbf1378351b311b9c985515c8664f6b93a7 (patch) | |
tree | 0a87533e73de4da76ef101cd771b96529e49c18c | |
parent | b8b8b2f54003dcfb282dfbf37ac65d85e1f96437 (diff) | |
download | eSim-ddac0cbf1378351b311b9c985515c8664f6b93a7.tar.gz eSim-ddac0cbf1378351b311b9c985515c8664f6b93a7.tar.bz2 eSim-ddac0cbf1378351b311b9c985515c8664f6b93a7.zip |
Added output path libConverter.py
-rw-r--r-- | src/converter/libConverter.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/converter/libConverter.py b/src/converter/libConverter.py index 4ac4d354..eb725d8e 100644 --- a/src/converter/libConverter.py +++ b/src/converter/libConverter.py @@ -22,10 +22,13 @@ 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] + # Get output path without extension (same directory as input) + output_base = os.path.splitext(file_path)[0] + + command = ["python3", "parser.py", file_path, output_base] print(f"Running command: {' '.join(command)} in directory: {parser_path}") try: |