Skip to content

Commit b82214b

Browse files
committed
Minor fix
1 parent 56ced4c commit b82214b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

inst/shiny/app.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ server = function(input, output, session) {
172172
peds = pedigrees$complete
173173
famids = if(!is.null(peds)) pedtools::typedMembers(peds[[1]]) else NULL
174174

175+
stop2 = KLINK:::stop2
176+
warn = function(...) showNote(..., type = "warning")
177+
175178
xmldat = tryCatch(error = showNote, {
176179
if(is.null(famname))
177180
stop2("Familias file must be loaded first")
@@ -194,8 +197,6 @@ server = function(input, output, session) {
194197
return()
195198
}
196199

197-
warn = function(...) showNote(..., type = "warning")
198-
199200
# Check AMEL
200201
amelsex = match(xmldat$AMEL, c("X-Y", "X-X"))
201202
sex = pedtools::getSex(peds[[1]], famids)

0 commit comments

Comments
 (0)