slochower / nonequilibrium-master

Nonequilibrium kinetic modeling of amino acid rotary motors
1 stars 1 forks source link

Importing from parent directory #10

Closed slochower closed 7 years ago

slochower commented 7 years ago

Imports in the notebooks will probably be failing. A cheap workaround will be to prepend this to the preamble:

import sys, os
sys.path.insert(0, os.path.abspath('../'))
slochower commented 7 years ago

Probably should take this opportunity to modularize simulation.py with an __init.py__.

slochower commented 7 years ago

The module code really needs to be separate but it's still being finicky.