davidrpugh / population-ecology-approach

0 stars 2 forks source link

Fix import of model class! #4

Closed davidrpugh closed 9 years ago

davidrpugh commented 9 years ago

Example scripts fail due to incorrect import statement! This is a bug introduced during my refactor of the examples scripts.

davidrpugh commented 9 years ago

Turned out to be more user error than a bug. Needed to added the package directory to the PYTHONPATH and then import it before executing the example scripts.

For the moment this is accomplished by adding:

import sys
sys.path.append('../../')

to the top of each example script.