Giter Site home page Giter Site logo

Comments (8)

msultan avatar msultan commented on June 12, 2024

How are you calling the function? My guess is that your data array is not the same size as your probability pi.

from msmexplorer.

msultan avatar msultan commented on June 12, 2024

The pi vector has to be the same size as the data.

from msmexplorer.

mabianchet avatar mabianchet commented on June 12, 2024

Hi msultant
hanks for your answer

The error appears running the example file of the distribution
% python plot_free_energy_2d.py

from msmexplorer.

msultan avatar msultan commented on June 12, 2024

Is this from the examples page?

from msmexplorer.

msultan avatar msultan commented on June 12, 2024

@cxhernandez Is there some disconnectivity issue with the FS-peptide dataset?

from msmexplorer.

msultan avatar msultan commented on June 12, 2024

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.

mabianchet avatar mabianchet commented on June 12, 2024

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.

cxhernandez avatar cxhernandez commented on June 12, 2024

Glad to hear you figured out the issue!

from msmexplorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.