nipy / mindboggle

Automated anatomical brain label/shape analysis software (+ website)
http://mindboggle.info
Other
143 stars 54 forks source link

move import of etelemetry inside try block #187

Closed tgbugs closed 4 years ago

tgbugs commented 4 years ago

In order to ingest the mindboggle parcellation labels into the NIF Ontology we run the following from mindboggle.mio.labels import DKTprotocol as dkt, which has no dependencies, and thus can be run by simply cloning this repository and not having to bother with installing a bunch of dependencies. Importing a dependency in the top level init breaks this convenient behavior and also adds a network roundtrip for what should be a much simpler operation. This commit moves the etelemetry import inside the try/except block so that failure to import etelemetry does not prevent accessing static information in labels.py.