File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ manc_meta <- function(ids, ...) {
173
173
fanc_meta <- function (ids = NULL , ... ) {
174
174
ids = fanc_ids(ids )
175
175
df = fancr :: with_fanc(fancorbanc_meta(table = ' neuron_information' , ids = ids , ... ))
176
- metaf = getOption(' coconatfly.fancmeta ' )
176
+ metaf = getOption(' coconatfly.fanc_meta ' )
177
177
if (! is.null(metaf )) {
178
178
# we can use an unevaluated call as an option
179
179
# by evaluating we can trigger function
Original file line number Diff line number Diff line change
1
+ .onLoad <- function (libname , pkgname ) {
2
+ # set up experimental extra
3
+ coconatfly.fanc_meta = getOption(' coconatfly.fanc_meta' )
4
+ if (is.null(coconatfly.fanc_meta )) {
5
+ options(coconatfly.fanc_meta = function () {
6
+ fafbseg :: flywire_sirepo_file_memo(' https://github.com/flyconnectome/2023neckconnective/blob/dev/data/fanc-neckconnective-anns.tsv' , read = TRUE )
7
+ })
8
+ }
9
+ invisible ()
10
+ }
You can’t perform that action at this time.
0 commit comments