Skip to content
Snippets Groups Projects
Commit d7b01c0d authored by Lucy McNeill's avatar Lucy McNeill
Browse files

auto_crop_fast has informative error message re: failing to crop an edge

parent 39604258
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -256,8 +256,8 @@ crop_single_object_fast <- function(retained, OOI_final,counter_final,img_orig,i
#what should be done in case of exception?
if(annotation=="on"){
str(e) # #prints structure of exception
print("couldn't crop it. Neglected the following mask")
#str(e) # #prints structure of exception
print("couldn't crop it since cell is on the edge. Neglected the following mask of a cell candidate:")
display(tmp_img)
}
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment