>>> from ditto.readers.windmil_ascii.read import Reader
/Users/nick/projects/ditto-fork/ditto/readers/windmil_ascii/read.py:286: SyntaxWarning: "is" with a literal. Did you mean "=="?
-1 if phase is "A" else 1 if phase is "C" else 0
/Users/nick/projects/ditto-fork/ditto/readers/windmil_ascii/read.py:286: SyntaxWarning: "is" with a literal. Did you mean "=="?
-1 if phase is "A" else 1 if phase is "C" else 0
/Users/nick/projects/ditto-fork/ditto/readers/windmil_ascii/read.py:288: SyntaxWarning: "is not" with a literal. Did you mean "!="?
phase_wire.Y = 10 if phase is not "N" else 8
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/nick/projects/ditto-fork/ditto/readers/windmil_ascii/__init__.py", line 5, in <module>
from .read import Reader as DemoReader
File "/Users/nick/projects/ditto-fork/ditto/readers/windmil_ascii/read.py", line 19, in <module>
from ditto.readers.windmil_ascii.wm_reader import wm2graph
File "/Users/nick/projects/ditto-fork/ditto/readers/windmil_ascii/wm_reader.py", line 6, in <module>
from bokeh.models import BoxSelectTool, BoxZoomTool, PanTool, WheelZoomTool, ResetTool, SaveTool, HoverTool
ModuleNotFoundError: No module named 'bokeh'
maybe we can remove the bokeh dependency?