nickelnine37 / immue-cell-migration-models

This is a repository for holding prototypes and work in progress for my MSc dissertation on inferring model parameters to describe leukocyte migration.
0 stars 1 forks source link

set sys path to import from subfolders #1

Closed ljschumacher closed 4 years ago

ljschumacher commented 4 years ago

currently some of the core files contain lines such as sys.path.append('/home/ed/Documents/Academic/Edinburgh/Courses/Dissertation/LeukocyteMigration/')

How does this need to be changed to correctly import from utils, in_silico, etc.?

I have tried import sys import os sys.path.append(os.path.abspath('..'))

but this did not work (on Mac OSX)

ljschumacher commented 4 years ago

This issue was caused because there was another 'utils' installed that was conflicting with the foldername "utils" – if this is an issue that folder should be renamed. For now it was solved with pip uninstall utils