Skip to content

Commit

Permalink
Print exception when trying to import neuron.rxd.geometry3d
Browse files Browse the repository at this point in the history
  • Loading branch information
kbvw committed Aug 16, 2024
1 parent af837ba commit 16ef54c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions share/lib/python/neuron/rxd/geometry.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
import warnings
import traceback
import numpy
from neuron import h, nrn
from .rxdException import RxDException
Expand All @@ -9,6 +10,8 @@

has_geometry3d = True
except ImportError:
traceback.print_exc()

Check warning on line 13 in share/lib/python/neuron/rxd/geometry.py

View check run for this annotation

Codecov / codecov/patch

share/lib/python/neuron/rxd/geometry.py#L13

Added line #L13 was not covered by tests

has_geometry3d = False


Expand Down

0 comments on commit 16ef54c

Please sign in to comment.