|
@@ -1,10 +1,11 @@
|
|
|
import sys
|
|
|
+from os.path import realpath, join, dirname
|
|
|
|
|
|
# This loads the Neo and odML libraries shipped with this code. For production
|
|
|
# use, please use the newest releases of odML and Neo.
|
|
|
-sys.path.insert(0, 'python-neo')
|
|
|
-sys.path.insert(0, 'python-odml')
|
|
|
+sys.path.insert(0, realpath(join(dirname(__file__), 'python-neo')))
|
|
|
+sys.path.insert(0, realpath(join(dirname(__file__), 'python-odml')))
|
|
|
|
|
|
# This loads the Elephant analysis libraries shipped with this code. It
|
|
|
# is used to generate the offline filtered LFP in example.py.
|
|
|
-sys.path.insert(0, 'elephant')
|
|
|
+sys.path.insert(0, realpath(join(dirname(__file__), 'elephant')))
|