You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While calling lytest.exe run myfile mytestfunc from command line
I have a following traceback:
'c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\pya\init.py'>
Traceback (most recent call last):
File "C:\Users\botan\AppData\Local\Programs\Python\Python38\Scripts\lytest-script.py", line 33, in
sys.exit(load_entry_point('lytest==0.1.0', 'console_scripts', 'lytest')())
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\command_line.py", line 62, in cm_main
cm_xor_test(args.args)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\command_line.py", line 116, in cm_xor_test
difftesting_function()
File ".\Projects\32QStairDisp\test_design.py", line 22, in test_design_shmest
difftest_it(design_total_draw)() File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\utest_buds.py", line 77, in wrapper
run_xor(ref_file, test_file, tolerance=1, hash_geom=True, verbose=False)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 163, in run_xor
run_xor_pya(*args, **kwargs)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 18, in run_xor_pya
run_xor_phidl(file1, file2, tolerance, hash_geom=True, verbose=verbose)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 140, in run_xor_phidl
TOP1, TOP2 = [import_oas(fn) for fn in [file1, file2]]
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 140, in
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\phidl_oas.py", line 19, in import_oas
retval = pg.import_gds(filename, cellname=cellname, flatten=flatten)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\phidl_oas.py", line 12, in __getattr__
raise ImportError('phidl was not found, so import/write OAS will not work')
while calling run_xor(ref_file, test_file, tolerance=1, hash_geom=True, verbose=False) hash_geom=True forces to use phidl and trying to load .oas format though reference design is .gds
Furthermore, phidl is not installed in my particular case.
The text was updated successfully, but these errors were encountered:
shamil777
added a commit
to shamil777/lytest
that referenced
this issue
Jun 17, 2024
While calling
lytest.exe run myfile mytestfunc
from command lineI have a following traceback:
'c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\pya\init.py'>
Traceback (most recent call last):
File "C:\Users\botan\AppData\Local\Programs\Python\Python38\Scripts\lytest-script.py", line 33, in
sys.exit(load_entry_point('lytest==0.1.0', 'console_scripts', 'lytest')())
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\command_line.py", line 62, in cm_main
cm_xor_test(args.args)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\command_line.py", line 116, in cm_xor_test
difftesting_function()
File ".\Projects\32QStairDisp\test_design.py", line 22, in test_design_shmest
difftest_it(design_total_draw)()
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\utest_buds.py", line 77, in wrapper
run_xor(ref_file, test_file, tolerance=1, hash_geom=True, verbose=False)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 163, in run_xor
run_xor_pya(*args, **kwargs)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 18, in run_xor_pya
run_xor_phidl(file1, file2, tolerance, hash_geom=True, verbose=verbose)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 140, in run_xor_phidl
TOP1, TOP2 = [import_oas(fn) for fn in [file1, file2]]
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\kdb_xor.py", line 140, in
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\phidl_oas.py", line 19, in import_oas
retval = pg.import_gds(filename, cellname=cellname, flatten=flatten)
File "c:\users\botan\appdata\local\programs\python\python38\lib\site-packages\lytest\phidl_oas.py", line 12, in __getattr__
raise ImportError('phidl was not found, so import/write OAS will not work')
My thoughts that problem resides here:
lytest/lytest/kdb_xor.py
Lines 15 to 17 in c7d2c10
while calling
run_xor(ref_file, test_file, tolerance=1, hash_geom=True, verbose=False)
hash_geom=True
forces to use phidl and trying to load.oas
format though reference design is.gds
Furthermore,
phidl
is not installed in my particular case.The text was updated successfully, but these errors were encountered: