Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hemibrain neurons not available in JRCFIB2018F using hemibrain_neurons #44

Open
mmc46 opened this issue May 5, 2021 · 2 comments
Open

Comments

@mmc46
Copy link
Contributor

mmc46 commented May 5, 2021

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
Copy link
Contributor Author

mmc46 commented May 5, 2021

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
Copy link
Contributor Author

mmc46 commented May 5, 2021

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant