LabeoTech / Umit

universal mesoscale Imaging Toolbox
GNU General Public License v3.0
9 stars 3 forks source link

[BUG] - Adding New Data to Preexisting Dataset. #63

Closed Zak-Eckert closed 1 year ago

Zak-Eckert commented 1 year ago

I am working on the merging of the 2 separate cohorts now, and I appear to be hitting an issue. Although they were acquired on the same Rig, same setup / software, and they were saved using the same naming scheme, the Umitoolbox cant seem to find the raw data, even when I tried changing the Raw data folder. Error code attached. I am using the most recent version of the app, even tried this across 3 different versions so that doesnt appear to be the issue. Due to experimental design, I acquire on 1 drive, analyse in said drive, then transfer large files (.dat and raw data) to an external HDD. This has created issues in the past, but it appeared only as of late, so I cannot be sure if this is a culprit or not.

Zachary Eckert

Error using arrayfun All of the input arguments must be of the same size and shape. Previous inputs had size 1 in dimension 1. Input #3 has size 0

Error in Protocol/lookForNewData (line 180) iNewAcq = arrayfun(@(a,b) ~ismember({a.Array.ObjList.ID}, {b.Array.ObjList.ID}),...

Error in Protocol/updateList (line 224) [newArray,idxInfo] = obj.lookForNewData(false);

Error in umIToolbox/UpdateprojectMenuSelected (line 1558) app.ProtocolObj.updateList(b_discardData);

Error using matlab.ui.internal.controller.WebMenuController/fireActionEvent (line 67) Error while evaluating Menu Callback.

BrunoOFSouza commented 1 year ago

Fixed in commit 0b1e83203fe2f2dc7f57a7c8b669f796fe0dcbfa Thanks!