Skip to content
Snippets Groups Projects
Commit 2cd1f71d authored by Bienchen's avatar Bienchen
Browse files

SCHWED-4715: Get rid of Python 2.7 as a string as far as sensible

parent 9abcad5b
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ if not conop.GetDefaultLib():
# ensure that PROMOD3_SHARED_DATA_PATH env. var. set and override if needed
if GetProMod3SharedDataPath() is None:
# module_path = PROMOD3_ROOT/lib64/python2.7/site-packages/promod3
# module_path = PROMOD3_ROOT/lib64/python3.6/site-packages/promod3
module_path = os.path.dirname(os.path.abspath(__file__))
# get PROMOD3_ROOT
promod3_lib = os.path.dirname(os.path.dirname(os.path.dirname(module_path)))
......
......@@ -437,7 +437,7 @@ Quick testing of |project| features
High-level features of |project|, can be tested directly in an interactive
Python shell. First, you need to tell Python, where to find the modules by
defining the ``PYTHONPATH`` env. variable in your shell to include the
:file:`lib64/python2.7/site-packages` folders of the :file:`stage` folders of
:file:`lib64/python3.6/site-packages` folders of the :file:`stage` folders of
|project| and |ost_s|. For convenience, you can place the export-command in
your :file:`.bashrc` (or so). Then, you can import modules from ``promod3``
and ``ost`` as in the example codes shown in this documentation.
......@@ -569,7 +569,7 @@ module, for example
:py_docs:`standard library <library/>`
Modules from the |python| standard library are covered by the |python|
`license <https://www.python.org/download/releases/2.7.5/license>`_ and
`license <https://docs.python.org/3.6/license.html>`_ and
licenses is what you have to watch out for with this subject. While the |python|
license is safe to be used, in the past several projects went restrictive
because of exclusive terms of use. Those issues often came from 'academic
......
......@@ -13,6 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
This message should intentionally fail the script.
This script was not ported to Python 3. Should be done along the next time a
real use case pops up.
import os, json
......
Mean text supposed to make any attempt to run the script fail ;)
This script is not ported to Python 3, yet. THe reason is simply that it was not used in a long time plus for tresting you first need the proper use case.
#!/bin/bash
#$ -t 1-500
#$ -cwd
......
......@@ -23,7 +23,7 @@ A rotamer represents an amino acid sidechain identified by a :class:`RotamerID`
and is a set of :class:`Particle` objects.
Two types of rotamers exist. The :class:`RRMRotamer` and :class:`FRMRotamer`.
To gather all possible rotamers for one location,
ProMod3 offers the :class:`RRMRotamerGroup` and :class:`FRMRotamerGroup`.
|project| offers the :class:`RRMRotamerGroup` and :class:`FRMRotamerGroup`.
All parts of the structure that are kept rigid can be represented by
a :class:`Frame` object.
......@@ -111,7 +111,7 @@ The Smallest Building Block - The Particle
Particles give raise to more complex objects such as rotamers and frame
residues. They contain all data required to calculate pairwise energies.
For every energy function available in ProMod3, there's a particle creation
For every energy function available in |project|, there's a particle creation
function.
.. class:: PScoringFunction
......
......@@ -20,7 +20,7 @@ Rotamer Constructor
.. currentmodule:: promod3.sidechain
Instead of creating rotamers or frame residues by yourself, you can use the
convenient functionality provided by ProMod3.
convenient functionality provided by |project|.
The RotamerConstructor Baseclass
......
......@@ -25,7 +25,7 @@ sidechain can completely be described in terms of dihedral angles. Preferred
combinations of such dihedral angles are a result of steric properties and
can be gathered in rotamer libraries. Different libraries exist in the field
and their main difference is, whether the provided sidechain conformations
are dependent on their backbone or not. ProMod3 provides you with a
are dependent on their backbone or not. |project| provides you with a
:class:`BBDepRotamerLib` organizing rotamers for the different aminoacids
in equidistant phi/psi bins, as well as a simple :class:`RotamerLib`.
Both libraries are containers for :class:`RotamerLibEntry` and are optimized
......@@ -443,7 +443,7 @@ Rotamer Configurations
In rotamers, one distinguishes between rotameric and non-rotameric sidechain
dihedral angles. The rotameric ones are around SP3-SP3 hybridized bonds and
typically have three distinct configurations (trans, gauche-, gauche+).
The non-rotameric ones behave differently. ProMod3 offers some functionality
The non-rotameric ones behave differently. |project| offers some functionality
to estimate those configurations.
.. class:: DihedralConfiguration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment