Error in minimal_optical_simulation.py
Describe the bug
Error is TypeError: _stack_dispatcher() got an unexpected keyword argument 'dtype' when runing minimal_optical_simulation.py.
.
Specify a priority (low, medium, high) medium
To Reproduce Steps to reproduce the behavior:
- Setup python '3.9', pytorch 1.12.1
- Setup virtual environment
- Install SIMPA 'v0.8.20'
- Run SIMPA script 'Run minimal_optical_simulation.py in Pycharm IDE'
- See error
Current Behavior minimal_optical_simulation.py break off
Expected behavior finish running minimal_optical_simulation.py
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: [Ubuntu 18.04.5 LTS]
- SIMPA version [0.8.20] and git commit hash if possible
- IDE [Pycharm]
Additional context Add any other context about the problem here, e.g. possible solution(s).
What numpy version do you have?
The dtype argument was introduced in numpy version 1.24.0
Thank you!
The codes could run after installed the numpy==1.24.0. But I have encountered a new problem.
Problem:No such file or directory: './workplace/data/MyVolumeName_471_output.mc2'. Is the mcx can't produce the 'MyVolumeName_471_output.mc2'? or 'MyVolumeName_471_output.mc2' was produced in other path, because i could not make files in the workspace in public servers
Thats because MCX recently made jnii the default file format. Theres already a pr to fix this, but it's not merged yet.
This issue should be resolved by now