Closed stefanv closed 1 year ago
The instructions aren't working at 0a7ea27, which looks to me like a bug:
$ python -m viscm --uniform-space buggy-CAM02-UCS -m Bezier edit /tmp/option_d.py
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/robatt/Projects/_external/viscm/viscm/__main__.py", line 8, in <module>
cli()
File "/home/robatt/Projects/_external/viscm/viscm/cli.py", line 114, in cli
mainwindow = gui.EditorWindow(figureCanvas, v)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/robatt/Projects/_external/viscm/viscm/gui.py", line 1157, in __init__
self.max_slider.setValue(viscm_editor.max_Jp)
TypeError: setValue(self, a0: int): argument 1 has unexpected type 'float'
I'd like to write a unit test for this and get it fixed prior to release.
/cc @njsmith