Skip to content

Commit

Permalink
correct err message
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed May 17, 2021
1 parent 354de57 commit 948ef08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/nat.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ read.neurons.vfb <- function(x, template='JRC2018Unisex', ...) {
x <- vc_df(x)[['id']]
}
if(length(x)==0)
stop("no valud ids!")
stop("no valid ids!")
if(!all(valid_vfbids(x)))
stop("some invalid VFB ids: ", x)

Expand Down

0 comments on commit 948ef08

Please sign in to comment.