Skip to content

Commit d7b91a2

Browse files
committed
Set default smats for nblast() as characters, not objects
This removes a complaint about there being no visible binding for the smats during R CMD check on CRAN (hopefully...)
1 parent ad308a0 commit d7b91a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/neuriteblast.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ nblast <- function(query, target=getOption("nat.default.neuronlist"),
104104
if(is.null(smat)) {
105105
smat=getOption("nat.nblast.defaultsmat")
106106
if(is.null(smat)) {
107-
if(UseAlpha) smat=smat_alpha.fcwb
108-
else smat=smat.fcwb
107+
if(UseAlpha) smat="smat_alpha.fcwb"
108+
else smat="smat.fcwb"
109109
}
110110
}
111111
if(is.character(smat)) smat=get(smat)

0 commit comments

Comments
 (0)