File: getting_started.rst

package info (click to toggle)
python-pymbar 4.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 37,972 kB
  • sloc: python: 8,566; makefile: 149; perl: 52; sh: 46
file content (55 lines) | stat: -rw-r--r-- 1,392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.. _getting-started:

Getting started
###############

.. highlight: bash

Installing ``pymbar``
=====================

This documentation covers ``pymbar`` 4.  For the previous versions of pymbar, see: `pymbar 3.0.7 <https://pymbar.readthedocs.io/en/3.0.7/>`_.

conda (recommended)
-------------------

The easiest way to install the ``pymbar`` release is via `conda <http://conda.pydata.org>`_:

.. code-block:: console

   $ conda install -c conda-forge pymbar

You can also install ``pymbar`` from the `Python package index <https://pypi.python.org/pypi/pymbar>`_ using ``pip``:

.. code-block:: console

   $ pip install pymbar

Development version
-------------------

The development version can be installed directly from GitHub via ``pip``: 

.. code-block:: console

   $ pip install git+https://github.com/choderalab/pymbar.git

In beta testing, this is way to download pymbar 4.

Running the tests
=================

Running the tests is a great way to verify that everything is working.

The test suite uses `pytest <https://docs.pytest.org/>`_, in addition to `statsmodels <http://statsmodels.sourceforge.net/>`_ and `pytables <http://www.pytables.org/>`_, which you can install via ``conda``:

.. code-block:: console

   $ conda install pytest statsmodels


You can then run the tests from within the `pymbar` directory with:

.. code-block:: console
		
   $ pytest -v pymbar