devbisme / skidl

SKiDL is a module that extends Python with the ability to design electronic circuits.
https://devbisme.github.io/skidl/
MIT License
1.06k stars 120 forks source link

[SKiDL BUG] netlist_to_skidl is no more? #193

Closed cyberhuman closed 1 year ago

cyberhuman commented 1 year ago

Describe the bug

The documentation mentions the netlist_to_skidl tool under the section Converting Existing Designs to SKiDL. However, some files are missing and the tool doesn't work.

To Reproduce Steps to reproduce the behavior:

  1. run netlist_to_skidl -i sch.net -o sch.py -w
  2. observe the error:
    Traceback (most recent call last):
    File "/home/alice/.conda/envs/bob/bin/netlist_to_skidl", line 5, in <module>
    from skidl.scripts.netlist_to_skidl_main import main
    ModuleNotFoundError: No module named 'skidl.scripts'

Expected behavior Either the shell script and the documentation should be removed, or the netlist_to_skidl_main should work.

devbisme commented 1 year ago

I restructured things a few months ago to remove the wildcard imports and that seems to be the cause of this problem. I pushed the fixes into the development branch.

cyberhuman commented 1 year ago

It works great now, thank you for the amazing software!