Comments (8)
How are you calling the function? My guess is that your data array is not the same size as your probability pi.
from msmexplorer.
The pi
vector has to be the same size as the data.
from msmexplorer.
Hi msultant
hanks for your answer
The error appears running the example file of the distribution
% python plot_free_energy_2d.py
from msmexplorer.
Is this from the examples page?
from msmexplorer.
@cxhernandez Is there some disconnectivity issue with the FS-peptide dataset?
from msmexplorer.
I am not getting this error on my mac mini
python plot_free_energy_2d.py
fs_peptide already is cached
/Users/muneeb/anaconda/lib/python3.5/site-packages/mdtraj-1.9.0.dev0-py3.5-macosx-10.6-x86_64.egg/mdtraj/formats/pdb/pdbfile.py:196: UserWarning: Unlikely unit cell vectors detected in PDB file likely resulting from a dummy CRYST1 record. Discarding unit cell vectors.
warnings.warn('Unlikely unit cell vectors detected in PDB file likely '
loading trajectory-1.xtc...
loading trajectory-10.xtc...
loading trajectory-11.xtc...
loading trajectory-12.xtc...
loading trajectory-13.xtc...
loading trajectory-14.xtc...
loading trajectory-15.xtc...
loading trajectory-16.xtc...
loading trajectory-17.xtc...
loading trajectory-18.xtc...
loading trajectory-19.xtc...
loading trajectory-2.xtc...
loading trajectory-20.xtc...
loading trajectory-21.xtc...
loading trajectory-22.xtc...
loading trajectory-23.xtc...
loading trajectory-24.xtc...
loading trajectory-25.xtc...
loading trajectory-26.xtc...
loading trajectory-27.xtc...
loading trajectory-28.xtc...
loading trajectory-3.xtc...
loading trajectory-4.xtc...
loading trajectory-5.xtc...
loading trajectory-6.xtc...
loading trajectory-7.xtc...
loading trajectory-8.xtc...
loading trajectory-9.xtc...
/Users/muneeb/anaconda/lib/python3.5/site-packages/sklearn/cluster/k_means_.py:1279: DeprecationWarning: This function is deprecated. Please call randint(0, 279999 + 1) instead
0, n_samples - 1, init_size)
MSM contains 1 strongly connected component above weight=0.50. Component 0 selected, with population 100.000000%
/Users/muneeb/anaconda/lib/python3.5/site-packages/numpy/ma/core.py:6385: MaskedArrayFutureWarning: In the future the default for ma.maximum.reduce will be axis=0, not the current None, to match np.maximum.reduce. Explicitly pass 0 or None to silence this warning.
return self.reduce(a)
/Users/muneeb/anaconda/lib/python3.5/site-packages/numpy/ma/core.py:6385: MaskedArrayFutureWarning: In the future the default for ma.minimum.reduce will be axis=0, not the current None, to match np.minimum.reduce. Explicitly pass 0 or None to silence this warning.
return self.reduce(a)
from msmexplorer.
Dear msultant,
Shame on me, i introduced a typo in the example script that coincidentally reproduce the error in my script. A fresh copy of the script works well.
The problem was with my use of msmbuilder, changing the clustering methods fix it.
I apologize again.
from msmexplorer.
Glad to hear you figured out the issue!
from msmexplorer.
Related Issues (20)
- Implement Joy Plots HOT 9
- seaborn.apionly is deprecated HOT 2
- Adding 2D tIC trajectory visualization HOT 3
- Argument for time units in visualizations HOT 4
- plot_msm_network and plot_tpaths problems when msm is not 100% ergodic HOT 2
- Use of undirected graph in plot_msm_network HOT 4
- AttributeError: module 'msmexplorer' has no attribute 'plot_implied_timescales' HOT 3
- Fix coveralls
- MSMExplorer Installation: conflict error 'numba' HOT 1
- pip install error: No module named 'basesetup' HOT 1
- Add free energy plots using GMM models
- What are the numbers plotted on the axis of the histogram plot HOT 1
- No module named 'corner' HOT 1
- Plotting transition pathway using MSM and projected on tICs
- ImportError: cannot import name '_scipy_univariate_kde' from 'seaborn.distributions' HOT 1
- Installation of msmexplorer
- type object 'Dataset' has no attribute 'unify_chunks' HOT 2
- Add implied timescales plot to notebook HOT 4
- Port some of the schrodinger's plots HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msmexplorer.