YeoLab / flotilla

Reproducible machine learning analysis of gene expression and alternative splicing data
http://yeolab.github.io/flotilla/docs
BSD 3-Clause "New" or "Revised" License
121 stars 26 forks source link

Reinstalled flotilla and get "load_hdf" import error #324

Closed shassathe closed 8 years ago

shassathe commented 8 years ago

I reinstalled the flotilla master version and get the following error when I try to import flotilla:

ImportError                               Traceback (most recent call last)
<ipython-input-4-503a34b1fbe9> in <module>()
      9 import numpy
     10 import seaborn as sns
---> 11 import flotilla

/home/shsathe/anaconda/lib/python2.7/site-packages/flotilla/__init__.py in <module>()
      5 from .compute.predict import PredictorConfigManager, PredictorDataSetManager
      6 from .datapackage import make_study_datapackage, FLOTILLA_DOWNLOAD_DIR
----> 7 from .study import Study
      8 
      9 

/home/shsathe/anaconda/lib/python2.7/site-packages/flotilla/study.py in <module>()
     29 from .visualize.ipython_interact import Interactive
     30 from .datapackage import FLOTILLA_DOWNLOAD_DIR
---> 31 from .util import load_csv, load_json, load_tsv, load_gzip_pickle_df, \
     32     load_pickle_df, load_hdf, timestamp, cached_property
     33 

ImportError: cannot import name load_hdf
olgabot commented 8 years ago

Is this in IPython? What happens if you restart the kernel, which forces Python to use the freshest code? I suspect the files on disk have been changed but Python's memory has not.

shassathe commented 8 years ago

Restarting the kernel worked. Sorry, disregard this. Thanks !