Skip to content
Snippets Groups Projects
Commit 3d04c8ad authored by mariefbourdon's avatar mariefbourdon
Browse files

220531 error handling tab_mark

parent 085b772b
No related branches found
No related tags found
No related merge requests found
{ {
"path" : "~/Documents/PhD/stuart_package/stuart", "path" : "~/Documents/PhD/stuart_package/stuart/vignettes",
"sortOrder" : [ "sortOrder" : [
{ {
"ascending" : true, "ascending" : true,
......
{ {
"activeTab" : 0 "activeTab" : 1
} }
\ No newline at end of file
{ {
"left" : { "left" : {
"panelheight" : 1402, "panelheight" : 762,
"splitterpos" : 362, "splitterpos" : 196,
"topwindowstate" : "NORMAL", "topwindowstate" : "MAXIMIZE",
"windowheight" : 1440 "windowheight" : 800
}, },
"right" : { "right" : {
"panelheight" : 1402, "panelheight" : 1402,
"splitterpos" : 879, "splitterpos" : 878,
"topwindowstate" : "NORMAL", "topwindowstate" : "NORMAL",
"windowheight" : 1440 "windowheight" : 1440
} }
......
{ {
"TabSet1" : 1, "TabSet1" : 1,
"TabSet2" : 0, "TabSet2" : 3,
"TabZoom" : { "TabZoom" : {
} }
} }
\ No newline at end of file
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
## create table with markers and counts ## create table with markers and counts
tab_mark <- function(geno,annot,pos){ tab_mark <- function(geno,annot,pos){
#stop if no annot or pos #stop if no annot or pos
if(rapportools::is.empty(annot)==FALSE){ if(all(rapportools::is.empty(annot)==TRUE)){
stop("No annotation data") stop("No annotation data")
} }
if(rapportools::is.empty(pos)==FALSE){ if(rapportools::is.empty(pos)==TRUE){
stop("No position data") stop("No position data")
} }
......
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