New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PI extension with PyMoDAQ4 #116
Comments
In pymodaq.extensions.pid.pid_controller we have replaced the line 160: self.output_viewer.show_data([[dat] for dat in datas['output']]) by We got the following errors: |
Hi Jérémie, |
the new pull request #148 should solve this issue! |
Could either Jérémie or Quantuum try this and let us know if it is working properly now? |
We are using a PID extensions with pymodaq 4. The model is intialized properly, but when intializing the PID we get the following errors
Traceback (most recent call last):
File "C:\Users\manip-lumi\Documents\GitHub\PyMoDAQ2\src\pymodaq\extensions\pid\pid_controller.py", line 161, in process_output
self.output_viewer.show_data([[dat] for dat in datas['output']])
File "C:\Users\manip-lumi\Documents\GitHub\PyMoDAQ2\src\pymodaq\utils\plotting\data_viewers\viewer.py", line 318, in show_data
if len(data.shape) > 4:
AttributeError: 'list' object has no attribute 'shape'
It is related to the modification of the dat structures in pymodaq 4.
The text was updated successfully, but these errors were encountered: