natverse / hemibrainr

Code for working with data from Janelia FlyEM's hemibrain project
https://natverse.github.io/hemibrainr/
7 stars 4 forks source link

Hemibrain neurons not available in JRCFIB2018F using hemibrain_neurons #44

Open mmc46 opened 3 years ago

mmc46 commented 3 years ago

The option of getting the hemibrain neurons in JRCFIB2018 space is given as an option, but this doesn't exist where the function is looking for it.

library(hemibrainr)
#> Loading required package: neuprintr
#> Registered S3 method overwritten by 'nat':
#>   method             from
#>   as.mesh3d.ashape3d rgl
#> Loading required package: nat
#> Loading required package: rgl
#> 
#> Attaching package: 'nat'
#> The following object is masked from 'package:rgl':
#> 
#>     wire3d
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, union
#> Loading required package: fafbseg
#> Run dr_fafbseg() for a status report on your installation
hb.fib = hemibrain_neurons(brain = "JRCFIB2018F")
#> Reading from Google Team Drive: hemibrainr
#> Error in nat::read.neuronlistfh(fh.file): Unable to locate data directory at: /net/flystore3/jdata/jdata5/JPeople/Alex/FIBSEM/data/neurons/fibsem/JRCFIB2018F/data or: /Volumes/GoogleDrive/Shared drives/hemibrainr/hemibrain_neurons//JRCFIB2018F/data

Instead there is just a dps object.

list.files("/Volumes/GoogleDrive/Shared drives/hemibrainr/hemibrain_neurons//JRCFIB2018F/data")
#> character(0)
list.files("/Volumes/GoogleDrive/Shared drives/hemibrainr/hemibrain_neurons//JRCFIB2018F/")
#> [1] "hemibrain_all_neurons_flow_JRCFIB2018F_dotprops.rds"
mmc46 commented 3 years ago

To add that I get an error when trying to use this dps.

hb.fib.dps = readRDS("/Volumes/GoogleDrive/Shared drives/hemibrainr/hemibrain_neurons/JRCFIB2018F/hemibrain_all_neurons_flow_JRCFIB2018F_dotprops.rds")
#> Registered S3 method overwritten by 'nat':
#>   method             from
#>   as.mesh3d.ashape3d rgl
str(hb.fib.dps)
#> Error in dbFetch(x, i): unable to obtain value for key 'ace6651d4ce6a47819d1ba4bf3660410'

Same error for the object in hemibrain, Shared drives/hemibrain/hemibrain_neurons/JRCFIB2018F/hemibrain_all_neurons_flow_JRCFIB2018F_dotprops.rds

mmc46 commented 3 years ago

And same error for the object in FAFB14 space, in the GDrive hemibrainr and hemibrain.

hb.fafb.dps = readRDS("/Volumes/GoogleDrive/Shared drives/hemibrain/hemibrain_neurons/FAFB14/hemibrain_all_neurons_flow_FAFB14.rds")
#> Registered S3 method overwritten by 'nat':
#>   method             from
#>   as.mesh3d.ashape3d rgl
rgl::plot3d(hb.fafb.dps[1:100])
#> Error in dbFetch(x, i): unable to obtain value for key '23049e62f7b375cded156e0ebc94486a'
hbr.fafb.dps = readRDS("/Volumes/GoogleDrive/Shared drives/hemibrainr/hemibrain_neurons/FAFB14/hemibrain_all_neurons_flow_FAFB14.rds")
#> Registered S3 method overwritten by 'nat':
#>   method             from
#>   as.mesh3d.ashape3d rgl
rgl::plot3d(hbr.fafb.dps[1:100])
#> Error in dbFetch(x, i): unable to obtain value for key '23049e62f7b375cded156e0ebc94486a'