Menu

Commit [r1625]  Maximize  Restore  History

lupoleon - Fixed a bug while saving 2P in RoiQuest.

ROIs have the property isNew since a few commits now. Upon saving all ROIs are set to isNew=false.
There was a bug whereby if one Zlayer had no ROIs the software still wrote `ROI.isNew = false` in the empty field thus creating a struct and not a ROI object.
This failed every time a ROI method was called since it was called on a struct and not a ROI object.

dororoma 2025-04-25

changed /08_RoiQuest/+utils/saveRoisAcute.m
changed /08_RoiQuest/+utils/saveRoisChronic.m
/08_RoiQuest/+utils/saveRoisAcute.m Diff Switch to side-by-side view
Loading...
/08_RoiQuest/+utils/saveRoisChronic.m Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB