aces / brainbrowser

Web-based visualization tools for neurological data.
https://brainbrowser.cbrain.mcgill.ca/
GNU Affero General Public License v3.0
351 stars 122 forks source link

Type error d not defined in loadModelFromFile #342

Closed cfhammill closed 6 years ago

cfhammill commented 6 years ago

Hi All,

I'm trying to create an R wrapper for some brainbrowser functionality. I'm using the minified javascript from release 2.5.5. I'm trying to run a simple example and loadModelFromFile is failing with (files scrubbed for brevity):

TypeError: d is undefined

brainbrowser.surface-viewer.min.js:32:7461
loadFromFile
BrainBrowser.SurfaceViewer.modules.loading/a.loadModelFromFile
<anonymous>
start/<
a/</j.onreadystatechange

Not sure what's going wrong here. I can provide more details and a reprex if necessary.

cfhammill commented 6 years ago

This was due to ignorance, I was passing a static file path and expecting this to work.