msmbuilder-neo 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- msmbuilder_neo-1.0.0/.github/PULL_REQUEST_TEMPLATE.md +5 -0
- msmbuilder_neo-1.0.0/.github/workflows/ci.yml +95 -0
- msmbuilder_neo-1.0.0/.github/workflows/docs.yml +64 -0
- msmbuilder_neo-1.0.0/.github/workflows/release.yml +95 -0
- msmbuilder_neo-1.0.0/.gitignore +58 -0
- msmbuilder_neo-1.0.0/.pre-commit-config.yaml +14 -0
- msmbuilder_neo-1.0.0/LICENSE +490 -0
- msmbuilder_neo-1.0.0/PKG-INFO +195 -0
- msmbuilder_neo-1.0.0/README.md +120 -0
- msmbuilder_neo-1.0.0/benchmarks/hmm_parity.py +169 -0
- msmbuilder_neo-1.0.0/benchmarks/msm_parity.py +208 -0
- msmbuilder_neo-1.0.0/benchmarks/native_parity.py +228 -0
- msmbuilder_neo-1.0.0/conda-recipe/README.md +31 -0
- msmbuilder_neo-1.0.0/conda-recipe/conda_build_config.yaml +3 -0
- msmbuilder_neo-1.0.0/conda-recipe/meta.yaml +74 -0
- msmbuilder_neo-1.0.0/docs/.gitignore +5 -0
- msmbuilder_neo-1.0.0/docs/LICENSE +4 -0
- msmbuilder_neo-1.0.0/docs/Makefile +177 -0
- msmbuilder_neo-1.0.0/docs/_static/custom.css +5 -0
- msmbuilder_neo-1.0.0/docs/_static/flow-chart.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/fspeptide.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/kde-vs-histogram.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/lengths-hist.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/logo-200px.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/logo.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/msm-microstates.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/tica-heatmap.png +0 -0
- msmbuilder_neo-1.0.0/docs/_static/tica-movie.gif +0 -0
- msmbuilder_neo-1.0.0/docs/_static/tica_vs_pca.png +0 -0
- msmbuilder_neo-1.0.0/docs/_templates/class.rst +7 -0
- msmbuilder_neo-1.0.0/docs/api.rst +362 -0
- msmbuilder_neo-1.0.0/docs/apipatterns.rst +120 -0
- msmbuilder_neo-1.0.0/docs/background.rst +64 -0
- msmbuilder_neo-1.0.0/docs/bibparse.py +57 -0
- msmbuilder_neo-1.0.0/docs/changelog.rst +392 -0
- msmbuilder_neo-1.0.0/docs/cluster.rst +64 -0
- msmbuilder_neo-1.0.0/docs/conf.py +152 -0
- msmbuilder_neo-1.0.0/docs/contributing.rst +75 -0
- msmbuilder_neo-1.0.0/docs/datasets.rst +139 -0
- msmbuilder_neo-1.0.0/docs/decomposition.rst +267 -0
- msmbuilder_neo-1.0.0/docs/examples/index.rst +46 -0
- msmbuilder_neo-1.0.0/docs/faq.rst +239 -0
- msmbuilder_neo-1.0.0/docs/feature_selection.rst +21 -0
- msmbuilder_neo-1.0.0/docs/featurization.rst +87 -0
- msmbuilder_neo-1.0.0/docs/figures/kde-vs-histogram.py +38 -0
- msmbuilder_neo-1.0.0/docs/getting_started.rst +36 -0
- msmbuilder_neo-1.0.0/docs/gmrq.rst +198 -0
- msmbuilder_neo-1.0.0/docs/hmm.rst +75 -0
- msmbuilder_neo-1.0.0/docs/index.rst +136 -0
- msmbuilder_neo-1.0.0/docs/installation.rst +70 -0
- msmbuilder_neo-1.0.0/docs/io.rst +145 -0
- msmbuilder_neo-1.0.0/docs/make.bat +242 -0
- msmbuilder_neo-1.0.0/docs/migration.rst +153 -0
- msmbuilder_neo-1.0.0/docs/msm.rst +211 -0
- msmbuilder_neo-1.0.0/docs/pipeline.rst +111 -0
- msmbuilder_neo-1.0.0/docs/plugins.rst +36 -0
- msmbuilder_neo-1.0.0/docs/preprocessing.rst +32 -0
- msmbuilder_neo-1.0.0/docs/publications.bib +276 -0
- msmbuilder_neo-1.0.0/docs/publications_templ.rst +26 -0
- msmbuilder_neo-1.0.0/docs/ratematrix.rst +77 -0
- msmbuilder_neo-1.0.0/docs/tpt.rst +51 -0
- msmbuilder_neo-1.0.0/docs/tutorial.rst +242 -0
- msmbuilder_neo-1.0.0/docs/user_guide.rst +43 -0
- msmbuilder_neo-1.0.0/docs/whats_new.rst +71 -0
- msmbuilder_neo-1.0.0/examples/Clustering-Comparison.ipynb +234 -0
- msmbuilder_neo-1.0.0/examples/Fs-Peptide-command-line.ipynb +284 -0
- msmbuilder_neo-1.0.0/examples/Fs-Peptide-in-RAM.ipynb +349 -0
- msmbuilder_neo-1.0.0/examples/Fs-Peptide-with-Pipeline.ipynb +176 -0
- msmbuilder_neo-1.0.0/examples/Fs-Peptide-with-dataset.ipynb +369 -0
- msmbuilder_neo-1.0.0/examples/GMRQ-Model-Selection.ipynb +236 -0
- msmbuilder_neo-1.0.0/examples/LICENSE.md +24 -0
- msmbuilder_neo-1.0.0/examples/Ligand-Featurization.ipynb +276 -0
- msmbuilder_neo-1.0.0/examples/Quickstart.ipynb +354 -0
- msmbuilder_neo-1.0.0/examples/Ward-Clustering.ipynb +180 -0
- msmbuilder_neo-1.0.0/examples/advanced/bayesian-msm.ipynb +206 -0
- msmbuilder_neo-1.0.0/examples/advanced/hmm-and-msm.ipynb +195 -0
- msmbuilder_neo-1.0.0/examples/advanced/implied-timescales.ipynb +132 -0
- msmbuilder_neo-1.0.0/examples/advanced/plot-tica-heatmap.ipynb +131 -0
- msmbuilder_neo-1.0.0/examples/advanced/quadwell-n-states.ipynb +117 -0
- msmbuilder_neo-1.0.0/examples/advanced/quadwell.ipynb +103 -0
- msmbuilder_neo-1.0.0/examples/advanced/uncertainty.ipynb +232 -0
- msmbuilder_neo-1.0.0/examples/tICA-vs-PCA.ipynb +224 -0
- msmbuilder_neo-1.0.0/meson.build +37 -0
- msmbuilder_neo-1.0.0/msmbuilder/__init__.py +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/base.py +25 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/.gitignore +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/__init__.py +89 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/_kmedoids.py +236 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/agglomerative.py +286 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/apm.py +267 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/base.py +322 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/kcenters.py +179 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/kmedoids.py +172 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/minibatchkmedoids.py +210 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/ndgrid.py +134 -0
- msmbuilder_neo-1.0.0/msmbuilder/cluster/regularspatial.py +138 -0
- msmbuilder_neo-1.0.0/msmbuilder/cmdline.py +605 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/__init__.py +44 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/atom_indices.py +93 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/convert_chunked_project.py +161 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/example_datasets.py +58 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/featurizer.py +298 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/fit.py +91 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/fit_transform.py +372 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/implied_timescales.py +121 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/pipeline.py +56 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/template_project.py +56 -0
- msmbuilder_neo-1.0.0/msmbuilder/commands/transform.py +79 -0
- msmbuilder_neo-1.0.0/msmbuilder/dataset.py +581 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/.gitignore +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/__init__.py +38 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/_speigh.py +392 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/base.py +127 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/deep.py +1203 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/kernel_approximation.py +104 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/ksparsetica.py +207 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/ktica.py +166 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/pca.py +60 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/sparsetica.py +184 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/tica.py +521 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/utils.py +28 -0
- msmbuilder_neo-1.0.0/msmbuilder/decomposition/vamp.py +335 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/.gitignore +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/__init__.py +28 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/_muller.py +93 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/alanine_dipeptide.py +60 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/base.py +264 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/brownian1d.py +257 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/fs_peptide.py +102 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/met_enkephalin.py +70 -0
- msmbuilder_neo-1.0.0/msmbuilder/example_datasets/muller.py +119 -0
- msmbuilder_neo-1.0.0/msmbuilder/feature_extraction/__init__.py +3 -0
- msmbuilder_neo-1.0.0/msmbuilder/feature_selection/__init__.py +14 -0
- msmbuilder_neo-1.0.0/msmbuilder/feature_selection/base.py +11 -0
- msmbuilder_neo-1.0.0/msmbuilder/feature_selection/featureselector.py +95 -0
- msmbuilder_neo-1.0.0/msmbuilder/featurizer/__init__.py +6 -0
- msmbuilder_neo-1.0.0/msmbuilder/featurizer/feature_union.py +88 -0
- msmbuilder_neo-1.0.0/msmbuilder/featurizer/featurizer.py +1517 -0
- msmbuilder_neo-1.0.0/msmbuilder/featurizer/indices.py +63 -0
- msmbuilder_neo-1.0.0/msmbuilder/featurizer/multichain.py +519 -0
- msmbuilder_neo-1.0.0/msmbuilder/featurizer/multiseq_featuizer.py +220 -0
- msmbuilder_neo-1.0.0/msmbuilder/featurizer/subset.py +164 -0
- msmbuilder_neo-1.0.0/msmbuilder/hmm/.gitignore +4 -0
- msmbuilder_neo-1.0.0/msmbuilder/hmm/__init__.py +2 -0
- msmbuilder_neo-1.0.0/msmbuilder/hmm/_hmm_core.py +300 -0
- msmbuilder_neo-1.0.0/msmbuilder/hmm/discrete_approx.py +171 -0
- msmbuilder_neo-1.0.0/msmbuilder/hmm/gaussian.py +705 -0
- msmbuilder_neo-1.0.0/msmbuilder/hmm/vonmises.py +559 -0
- msmbuilder_neo-1.0.0/msmbuilder/io/__init__.py +6 -0
- msmbuilder_neo-1.0.0/msmbuilder/io/gather_metadata.py +204 -0
- msmbuilder_neo-1.0.0/msmbuilder/io/io.py +422 -0
- msmbuilder_neo-1.0.0/msmbuilder/io/mdanalysis.py +249 -0
- msmbuilder_neo-1.0.0/msmbuilder/io/project_template.py +300 -0
- msmbuilder_neo-1.0.0/msmbuilder/io/sampling/__init__.py +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/io/sampling/sampling.py +84 -0
- msmbuilder_neo-1.0.0/msmbuilder/io_templates/twitter-bootstrap.html +31 -0
- msmbuilder_neo-1.0.0/msmbuilder/libdistance.py +478 -0
- msmbuilder_neo-1.0.0/msmbuilder/lumping/__init__.py +8 -0
- msmbuilder_neo-1.0.0/msmbuilder/lumping/bace.py +380 -0
- msmbuilder_neo-1.0.0/msmbuilder/lumping/mvca.py +199 -0
- msmbuilder_neo-1.0.0/msmbuilder/lumping/pcca.py +278 -0
- msmbuilder_neo-1.0.0/msmbuilder/lumping/pcca_plus.py +571 -0
- msmbuilder_neo-1.0.0/msmbuilder/lumping/samples.py +144 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/.gitignore +3 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/__init__.py +8 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/_markovstatemodel.py +132 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/_metzner_mcmc_fast.py +139 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/_metzner_mcmc_slow.py +136 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/_ratematrix.py +786 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/bayes_ratematrix.py +274 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/bayesmsm.py +386 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/core.py +615 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/deeptime_adapters.py +573 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/implied_timescales.py +52 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/markov_appreciation.py +14 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/msm.py +716 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/ratematrix.py +368 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/validation/__init__.py +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/msm/validation/bootstrapmsm.py +229 -0
- msmbuilder_neo-1.0.0/msmbuilder/pipeline.py +690 -0
- msmbuilder_neo-1.0.0/msmbuilder/preprocessing/__init__.py +89 -0
- msmbuilder_neo-1.0.0/msmbuilder/preprocessing/base.py +167 -0
- msmbuilder_neo-1.0.0/msmbuilder/preprocessing/timeseries.py +145 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/0-test-install.py +85 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/1-get-example-data.py +13 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/LICENSE.md +21 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/README.md +30 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/analysis/gather-metadata-plot.py +87 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/analysis/gather-metadata.py +21 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/cluster/cluster-plot.py +44 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/cluster/cluster.py +32 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/cluster/sample-clusters-plot.py +97 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/cluster/sample-clusters.py +40 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/dihedrals/featurize-plot.py +54 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/dihedrals/featurize.py +40 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/landmarks/featurize-plot.py +55 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/landmarks/featurize.py +33 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/landmarks/find-landmarks.py +59 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/msm/microstate-plot.py +56 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/msm/microstate-traj.py +38 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/msm/microstate.py +24 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/msm/timescales-plot.py +67 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/msm/timescales.py +48 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/plot_header.template +11 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/plot_macros.template +6 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/rmsd/rmsd-plot.py +52 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/rmsd/rmsd.py +26 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/tica/tica-plot.py +65 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/tica/tica-sample-coordinate-plot.py +50 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/tica/tica-sample-coordinate.py +39 -0
- msmbuilder_neo-1.0.0/msmbuilder/project_templates/tica/tica.py +30 -0
- msmbuilder_neo-1.0.0/msmbuilder/scripts/__init__.py +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/scripts/msmb.py +41 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/.gitignore +1 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/__init__.py +9 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/data_init.py +8 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/native.pdb +24 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_agglomerative.py +125 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_alphaanglefeaturizer.py +36 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_apm.py +83 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_bayes_ratematrix.py +116 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_bootstrap_msm.py +117 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_build_counts.py +15 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_clustering.py +76 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_commands.py +297 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_commands_exist.py +150 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_contactfeaturizers.py +121 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_dataset.py +224 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_decomposition.py +246 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_deep.py +167 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_deep_cvs.py +360 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_deeptime_adapters.py +316 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_estimator_subclassing.py +124 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_feature_descriptor.py +230 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_feature_selection.py +53 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_featureunion.py +110 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_featurizer.py +207 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_featurizer_subset.py +54 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_gather_metadata.py +137 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_ghmm.py +173 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_kcenters.py +105 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_kernel_approximation.py +41 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_kmedoids.py +135 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_ksparsetica.py +44 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_libdistance.py +303 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_ligandfeaturizers.py +104 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_lumping.py +152 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_macrostates.py +365 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_mdanalysis.py +154 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_metzner_mcmc.py +107 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_mfpt_error.py +28 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_msm.py +380 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_msm_uncertainty.py +87 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_msm_vamp.py +129 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_muller.py +29 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_ndgrid.py +43 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_nearest.py +62 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_param_sweep.py +76 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_pipeline.py +279 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_preprocessing.py +301 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_ratematrix.py +473 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_rmsdfeaturizer.py +236 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_sampling.py +17 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_sasa_featurizer.py +35 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_sparsetica.py +28 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_speigh.py +215 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_storage.py +229 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_strongly_connected_subgraph.py +67 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_template_project.py +21 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_tpt.py +274 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_transition_counts.py +74 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_transmat_mle_prinz.py +124 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_utils.py +95 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_vamp.py +129 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_vmhmm.py +153 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/test_workflows.py +63 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/workflows/basic.sh +11 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/workflows/ghmm.sh +15 -0
- msmbuilder_neo-1.0.0/msmbuilder/tests/workflows/rmsd.sh +18 -0
- msmbuilder_neo-1.0.0/msmbuilder/tpt/__init__.py +36 -0
- msmbuilder_neo-1.0.0/msmbuilder/tpt/committor.py +275 -0
- msmbuilder_neo-1.0.0/msmbuilder/tpt/flux.py +212 -0
- msmbuilder_neo-1.0.0/msmbuilder/tpt/hub.py +190 -0
- msmbuilder_neo-1.0.0/msmbuilder/tpt/mfpt.py +246 -0
- msmbuilder_neo-1.0.0/msmbuilder/tpt/path.py +317 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/__init__.py +8 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/compat.py +57 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/divergence.py +101 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/draw_samples.py +68 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/io.py +86 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/nearest.py +150 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/param_sweep.py +60 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/probability.py +32 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/subsampler.py +44 -0
- msmbuilder_neo-1.0.0/msmbuilder/utils/validation.py +77 -0
- msmbuilder_neo-1.0.0/msmbuilder/version.py.in +9 -0
- msmbuilder_neo-1.0.0/pyproject.toml +138 -0
- msmbuilder_neo-1.0.0/tools/list_package_files.py +20 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
concurrency:
|
|
10
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
11
|
+
cancel-in-progress: true
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
lint:
|
|
15
|
+
name: Lint and type check
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: "3.12"
|
|
22
|
+
- run: python -m pip install ruff==0.17.6 mypy==2.4.1
|
|
23
|
+
- run: ruff check msmbuilder examples benchmarks
|
|
24
|
+
- run: mypy
|
|
25
|
+
|
|
26
|
+
build:
|
|
27
|
+
name: Build wheel and sdist
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v4
|
|
31
|
+
with:
|
|
32
|
+
fetch-depth: 0 # version.py records the git revision
|
|
33
|
+
- uses: actions/setup-python@v5
|
|
34
|
+
with:
|
|
35
|
+
python-version: "3.12"
|
|
36
|
+
- run: python -m pip install build
|
|
37
|
+
- run: python -m build
|
|
38
|
+
- name: Check the wheel is pure Python
|
|
39
|
+
run: |
|
|
40
|
+
ls dist
|
|
41
|
+
test "$(ls dist/*.whl | wc -l)" -eq 1
|
|
42
|
+
ls dist/*-py3-none-any.whl
|
|
43
|
+
- uses: actions/upload-artifact@v4
|
|
44
|
+
with:
|
|
45
|
+
name: dist
|
|
46
|
+
path: dist/*
|
|
47
|
+
|
|
48
|
+
test:
|
|
49
|
+
name: Test on ${{ matrix.os }}, Python ${{ matrix.python }}
|
|
50
|
+
needs: build
|
|
51
|
+
runs-on: ${{ matrix.os }}
|
|
52
|
+
strategy:
|
|
53
|
+
fail-fast: false
|
|
54
|
+
matrix:
|
|
55
|
+
os: [ubuntu-latest, ubuntu-24.04-arm, macos-15, macos-15-intel]
|
|
56
|
+
python: ["3.10", "3.13"]
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@v4 # only for msmbuilder/tests/data_init.py
|
|
59
|
+
- uses: actions/setup-python@v5
|
|
60
|
+
with:
|
|
61
|
+
python-version: ${{ matrix.python }}
|
|
62
|
+
- uses: actions/download-artifact@v4
|
|
63
|
+
with:
|
|
64
|
+
name: dist
|
|
65
|
+
path: dist
|
|
66
|
+
- name: Install the wheel with test dependencies
|
|
67
|
+
shell: bash
|
|
68
|
+
run: python -m pip install "$(ls dist/*.whl)[test]"
|
|
69
|
+
# PyTorch for the deep-learning estimators. CPU-only build on Linux x86_64
|
|
70
|
+
# (PyPI's default bundles CUDA); PyPI build elsewhere. No Intel-macOS
|
|
71
|
+
# wheels exist for current PyTorch, so those tests skip there.
|
|
72
|
+
- name: Install PyTorch (CPU)
|
|
73
|
+
if: matrix.os != 'macos-15-intel'
|
|
74
|
+
shell: bash
|
|
75
|
+
run: |
|
|
76
|
+
if [ "$RUNNER_OS" = "Linux" ] && [ "$(uname -m)" = "x86_64" ]; then
|
|
77
|
+
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
|
|
78
|
+
else
|
|
79
|
+
python -m pip install torch
|
|
80
|
+
fi
|
|
81
|
+
# mlcolvar, only to check DeepTICA/DeepLDA against it: its
|
|
82
|
+
# scikit-learn<1.8 and pydantic<2 pins are not needed for that
|
|
83
|
+
python -m pip install lightning
|
|
84
|
+
python -m pip install --no-deps "mlcolvar==1.3.1"
|
|
85
|
+
- name: Cache example datasets
|
|
86
|
+
uses: actions/cache@v4
|
|
87
|
+
with:
|
|
88
|
+
path: ~/msmbuilder_data
|
|
89
|
+
key: msmbuilder-data-v1
|
|
90
|
+
- name: Run tests against the installed package
|
|
91
|
+
shell: bash
|
|
92
|
+
run: |
|
|
93
|
+
mkdir -p "$RUNNER_TEMP/run" && cd "$RUNNER_TEMP/run"
|
|
94
|
+
python "$GITHUB_WORKSPACE/msmbuilder/tests/data_init.py"
|
|
95
|
+
python -m pytest --pyargs msmbuilder.tests -q -n auto -p no:cacheprovider
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
name: Docs
|
|
2
|
+
|
|
3
|
+
# Build the documentation, executing every example notebook, on pull requests
|
|
4
|
+
# and pushes to main; publish it to GitHub Pages from main.
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: [main]
|
|
8
|
+
pull_request:
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: docs-${{ github.ref }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
build:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0 # version.py records the git revision
|
|
22
|
+
- uses: actions/setup-python@v5
|
|
23
|
+
with:
|
|
24
|
+
python-version: "3.12"
|
|
25
|
+
- name: Install MSMBuilder Neo with the docs dependencies
|
|
26
|
+
run: |
|
|
27
|
+
python -m pip install --upgrade pip
|
|
28
|
+
python -m pip install ".[docs]"
|
|
29
|
+
- name: Cache example datasets
|
|
30
|
+
uses: actions/cache@v4
|
|
31
|
+
with:
|
|
32
|
+
path: ~/msmbuilder_data
|
|
33
|
+
key: msmbuilder-data-docs-v1
|
|
34
|
+
- name: Download example datasets
|
|
35
|
+
run: |
|
|
36
|
+
cd "$RUNNER_TEMP"
|
|
37
|
+
python - <<'PY'
|
|
38
|
+
from msmbuilder.example_datasets import AlanineDipeptide, FsPeptide, MetEnkephalin
|
|
39
|
+
for d in (AlanineDipeptide(), FsPeptide(), MetEnkephalin()):
|
|
40
|
+
d.cache()
|
|
41
|
+
PY
|
|
42
|
+
- name: Build the documentation (runs every notebook)
|
|
43
|
+
working-directory: docs
|
|
44
|
+
env:
|
|
45
|
+
MSMB_DOCS_EXECUTE: force
|
|
46
|
+
PYDEVD_DISABLE_FILE_VALIDATION: "1"
|
|
47
|
+
run: python -m sphinx -b html --keep-going -j 1 . _build/html
|
|
48
|
+
- uses: actions/upload-pages-artifact@v3
|
|
49
|
+
with:
|
|
50
|
+
path: docs/_build/html
|
|
51
|
+
|
|
52
|
+
deploy:
|
|
53
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
54
|
+
needs: build
|
|
55
|
+
runs-on: ubuntu-latest
|
|
56
|
+
permissions:
|
|
57
|
+
pages: write
|
|
58
|
+
id-token: write
|
|
59
|
+
environment:
|
|
60
|
+
name: github-pages
|
|
61
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
62
|
+
steps:
|
|
63
|
+
- id: deployment
|
|
64
|
+
uses: actions/deploy-pages@v4
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# Publishing a GitHub release (tag vX.Y.Z) builds the sdist and the wheel,
|
|
4
|
+
# checks them, tests the wheel, and uploads both to PyPI with trusted
|
|
5
|
+
# publishing (no API token: PyPI trusts this workflow in the `pypi`
|
|
6
|
+
# environment). Running the workflow by hand uploads to TestPyPI instead.
|
|
7
|
+
on:
|
|
8
|
+
release:
|
|
9
|
+
types: [published]
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
build:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
with:
|
|
18
|
+
fetch-depth: 0
|
|
19
|
+
- uses: actions/setup-python@v5
|
|
20
|
+
with:
|
|
21
|
+
python-version: "3.12"
|
|
22
|
+
- name: Build the sdist and the wheel
|
|
23
|
+
run: |
|
|
24
|
+
python -m pip install --upgrade pip build twine
|
|
25
|
+
python -m build
|
|
26
|
+
ls -l dist
|
|
27
|
+
- name: Check the package metadata
|
|
28
|
+
run: python -m twine check --strict dist/*
|
|
29
|
+
- name: Check the version matches the release tag
|
|
30
|
+
if: github.event_name == 'release'
|
|
31
|
+
run: |
|
|
32
|
+
tag="${GITHUB_REF_NAME#v}"
|
|
33
|
+
wheel=$(ls dist/*.whl)
|
|
34
|
+
case "$wheel" in
|
|
35
|
+
*"-${tag}-py3-none-any.whl") echo "version $tag OK" ;;
|
|
36
|
+
*) echo "::error::release tag $GITHUB_REF_NAME does not match $wheel"; exit 1 ;;
|
|
37
|
+
esac
|
|
38
|
+
- uses: actions/upload-artifact@v4
|
|
39
|
+
with:
|
|
40
|
+
name: dist
|
|
41
|
+
path: dist/
|
|
42
|
+
|
|
43
|
+
test:
|
|
44
|
+
needs: build
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
steps:
|
|
47
|
+
- uses: actions/checkout@v4 # only for msmbuilder/tests/data_init.py
|
|
48
|
+
- uses: actions/setup-python@v5
|
|
49
|
+
with:
|
|
50
|
+
python-version: "3.12"
|
|
51
|
+
- uses: actions/download-artifact@v4
|
|
52
|
+
with:
|
|
53
|
+
name: dist
|
|
54
|
+
path: dist
|
|
55
|
+
- name: Install the wheel and test it
|
|
56
|
+
run: |
|
|
57
|
+
python -m pip install "$(ls dist/*.whl)[test]"
|
|
58
|
+
mkdir -p "$RUNNER_TEMP/run" && cd "$RUNNER_TEMP/run"
|
|
59
|
+
python "$GITHUB_WORKSPACE/msmbuilder/tests/data_init.py"
|
|
60
|
+
python -m pytest --pyargs msmbuilder.tests -q -n auto -p no:cacheprovider
|
|
61
|
+
msmb -h > /dev/null
|
|
62
|
+
|
|
63
|
+
publish-pypi:
|
|
64
|
+
if: github.event_name == 'release'
|
|
65
|
+
needs: [build, test]
|
|
66
|
+
runs-on: ubuntu-latest
|
|
67
|
+
environment:
|
|
68
|
+
name: pypi
|
|
69
|
+
url: https://pypi.org/project/msmbuilder-neo/
|
|
70
|
+
permissions:
|
|
71
|
+
id-token: write
|
|
72
|
+
steps:
|
|
73
|
+
- uses: actions/download-artifact@v4
|
|
74
|
+
with:
|
|
75
|
+
name: dist
|
|
76
|
+
path: dist
|
|
77
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
78
|
+
|
|
79
|
+
publish-testpypi:
|
|
80
|
+
if: github.event_name == 'workflow_dispatch'
|
|
81
|
+
needs: [build, test]
|
|
82
|
+
runs-on: ubuntu-latest
|
|
83
|
+
environment:
|
|
84
|
+
name: testpypi
|
|
85
|
+
url: https://test.pypi.org/project/msmbuilder-neo/
|
|
86
|
+
permissions:
|
|
87
|
+
id-token: write
|
|
88
|
+
steps:
|
|
89
|
+
- uses: actions/download-artifact@v4
|
|
90
|
+
with:
|
|
91
|
+
name: dist
|
|
92
|
+
path: dist
|
|
93
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
94
|
+
with:
|
|
95
|
+
repository-url: https://test.pypi.org/legacy/
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
*.py[cod]
|
|
2
|
+
|
|
3
|
+
# C extensions
|
|
4
|
+
*.so
|
|
5
|
+
|
|
6
|
+
# Packages
|
|
7
|
+
*.egg
|
|
8
|
+
*.egg-info
|
|
9
|
+
dist
|
|
10
|
+
build
|
|
11
|
+
eggs
|
|
12
|
+
parts
|
|
13
|
+
bin
|
|
14
|
+
var
|
|
15
|
+
sdist
|
|
16
|
+
develop-eggs
|
|
17
|
+
.installed.cfg
|
|
18
|
+
lib
|
|
19
|
+
lib64
|
|
20
|
+
__pycache__
|
|
21
|
+
Scripts/*
|
|
22
|
+
pyvenv.cfg
|
|
23
|
+
|
|
24
|
+
# Installer logs
|
|
25
|
+
pip-log.txt
|
|
26
|
+
|
|
27
|
+
# Unit test / coverage reports
|
|
28
|
+
.coverage
|
|
29
|
+
.tox
|
|
30
|
+
nosetests.xml
|
|
31
|
+
|
|
32
|
+
# Translations
|
|
33
|
+
*.mo
|
|
34
|
+
|
|
35
|
+
# IDEs
|
|
36
|
+
.mr.developer.cfg
|
|
37
|
+
.project
|
|
38
|
+
.pydevproject
|
|
39
|
+
.idea/
|
|
40
|
+
.vscode/
|
|
41
|
+
|
|
42
|
+
# Build output
|
|
43
|
+
build/
|
|
44
|
+
builddir/
|
|
45
|
+
.mesonpy-*/
|
|
46
|
+
wheelhouse/
|
|
47
|
+
|
|
48
|
+
# Generated by the Meson build
|
|
49
|
+
msmbuilder/version.py
|
|
50
|
+
|
|
51
|
+
# Vim temp files
|
|
52
|
+
*.swp
|
|
53
|
+
*.swo
|
|
54
|
+
|
|
55
|
+
build.log
|
|
56
|
+
|
|
57
|
+
# Other files
|
|
58
|
+
.DS_Store
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Run `pre-commit install` once to check staged files on every commit.
|
|
2
|
+
repos:
|
|
3
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
4
|
+
rev: v0.17.6
|
|
5
|
+
hooks:
|
|
6
|
+
- id: ruff
|
|
7
|
+
args: [--fix]
|
|
8
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
9
|
+
rev: v5.0.0
|
|
10
|
+
hooks:
|
|
11
|
+
- id: check-yaml
|
|
12
|
+
- id: check-toml
|
|
13
|
+
- id: check-merge-conflict
|
|
14
|
+
- id: check-added-large-files
|