markovmodel / pyemma_tutorials

How to analyze molecular dynamics data with PyEMMA
Creative Commons Attribution 4.0 International
72 stars 35 forks source link

Conda package lacks static content #158

Closed cwehmeyer closed 6 years ago

cwehmeyer commented 6 years ago

I tested the installer as recommended in the article:

conda create -n pyemma_tutorials
conda activate pyemma_tutorials
conda install -c conda-forge pyemma_tutorials
pyemma_tutorials

This worked perfectly well until I ran the first notebook. It seems that the notebooks/static/ directory is missing which contains seven png files:

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-40-52a99d5350ed> in <module>()
     16 ax_mol = fig.add_subplot(gs[:1600, -2820:-400])
     17 ax_mol.set_axis_off()
---> 18 ax_mol.imshow(plt.imread('static/pentapeptide-structure.png'))
     19 
     20 ax_feat = fig.add_subplot(gs[2000:3150, 400:1800])

/group/ag_cmb/scratch/schiffm/miniconda/envs/pyemma_tutorials/lib/python3.6/site-packages/matplotlib/pyplot.py in imread(*args, **kwargs)
   2371 @docstring.copy_dedent(_imread)
   2372 def imread(*args, **kwargs):
-> 2373     return _imread(*args, **kwargs)
   2374 
   2375 

/group/ag_cmb/scratch/schiffm/miniconda/envs/pyemma_tutorials/lib/python3.6/site-packages/matplotlib/image.py in imread(fname, format)
   1374             return handler(fd)
   1375         else:
-> 1376             with open(fname, 'rb') as fd:
   1377                 return handler(fd)
   1378     else:

FileNotFoundError: [Errno 2] No such file or directory: 'static/pentapeptide-structure.png'
marscher commented 6 years ago

Thanks for testing again, I will include these subdirectories.