clairelbromley / ZebrafishKymographing

Various software tools written for analysis of lumen opening and membrane retraction in zebrafish.
1 stars 0 forks source link

Error: Exp86E2 T1 #123

Open dougkelly88 opened 6 years ago

dougkelly88 commented 6 years ago

0 0 0 267.6427 316.7571 365.9664 430.2509 479.9677

     0

63.1888 120.9637 180.3956 229.5100 278.7193 343.0038 392.7206

z = 265 of 308

z = 266 of 308

z = 267 of 308

z = 268 of 308

z = 269 of 308

z = 270 of 308

z = 271 of 308

z = 272 of 308

z = 273 of 308

z = 274 of 308

z = 275 of 308

z = 276 of 308

z = 277 of 308

z = 278 of 308

z = 279 of 308

z = 280 of 308

z = 281 of 308

z = 282 of 308

z = 283 of 308

z = 284 of 308

z = 285 of 308

z = 286 of 308

z = 287 of 308

z = 288 of 308

z = 289 of 308

z = 290 of 308

z = 291 of 308

z = 292 of 308

z = 293 of 308

z = 294 of 308

z = 295 of 308

z = 296 of 308

z = 297 of 308

z = 298 of 308

z = 299 of 308

z = 300 of 308

z = 301 of 308

z = 300 of 308

z = 299 of 308

z = 298 of 308

z = 297 of 308

z = 296 of 308

z = 295 of 308

z = 294 of 308

z = 293 of 308

z = 292 of 308

z = 291 of 308

z = 290 of 308

z = 289 of 308

z = 288 of 308

z = 287 of 308

z = 286 of 308

z = 285 of 308

z = 286 of 308

z = 287 of 308

z = 288 of 308

z = 289 of 308

z = 290 of 308

z = 291 of 308

z = 292 of 308

z = 293 of 308

z = 294 of 308

z = 295 of 308

z = 296 of 308

z = 297 of 308

z = 298 of 308

z = 299 of 308

z = 300 of 308

z = 301 of 308

z = 300 of 308

z = 299 of 308

z = 300 of 308

z = 301 of 308

300.9863

z = 196 of 308

 2

 1

z = 181 of 308

 2

Index exceeds matrix dimensions.

Error in calculate_rhombomere_extents (line 25) imStats = [imStats(sidx(1)); imStats(sidx(2))];

Error in add_edge (line 42) data = calculate_rhombomere_extents(data, controls);

Error in on_edge_button_press (line 6) data = add_edge(edg, controls, data);

Error while evaluating uicontrol Callback

dougkelly88 commented 6 years ago

screenshot 1

dougkelly88 commented 6 years ago

screenshot 2

dougkelly88 commented 6 years ago

Figured out the problem - seems to be due to the fact that the rhombomeres were assigned to the same one - so when I drew round it I draw over 2 of them (see screenshot above)

I'll make sure that I check this in future!!

dougkelly88 commented 6 years ago

Ah, I meant to put in a catch for that case, I had seen it before. If error catching is off you can just keep going; if it's on you can press continue and crack on

dougkelly88 commented 6 years ago

To do: add catch for this case

dougkelly88 commented 6 years ago

There's something weird about this embryo - I moved onto T3, chose the top of the z stack, and now the lines that I drew last are displayed in the viewer

screenshot 3

dougkelly88 commented 6 years ago

ALSO: additional note about this case - I can move the z plane and try setting it at the top of the tissue again, but I still get the same images with edges on that are the same as the images from T2 Whilst the edges are displayed in the image, there are no ticks in the 'edges stored for this timepoint' box

dougkelly88 commented 6 years ago

NOTE: then, if I press proceed to next timepoint again, it shows exp83E2_T3 again, but in this case the edges are no longer there screenshot 4

dougkelly88 commented 6 years ago

In the results.csv file there are then two duplicated copies of the results for T2. NB - you can ignore T1 as I didn't draw all the edges for this timepoint because I have them on a separate spreadsheet screenshot 5

dougkelly88 commented 6 years ago

nonsense Warning: Directory already exists.

In calc_midline_definition at 64 In calculate_output_stats at 32 In on_next_button_press at 27 Error using dlmwrite (line 124) Could not open file D:\Exp86 E2\23-Jan-2018 12_00_40 Ncad Krox Analysis\results.csv

Error in save_results (line 78) dlmwrite([data.out_folder filesep 'results.csv'], results, '-append', 'delimiter', ',');

Error in on_next_button_press (line 29) hdr_string = save_results(data, edges);

Error while evaluating uicontrol Callback

 2

 1
dougkelly88 commented 6 years ago

Then this happened (I guess because I accidentally left the excel file open after my earlier screenshotting on this thread) - so afraid I can't say whether or not the results for T3 would then be saved normally as I've made it crash :/

dougkelly88 commented 6 years ago

I closed the excel spreadsheet and pressed next timepoint again

This time it seemed to manage to save the results from T3, the duplicate of T2 is still there

screenshot 6