Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
9262ea8f
Commit
9262ea8f
authored
7 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
SCHWED-1786: documented functions for default compounds library
parent
0e940f67
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/conop/doc/compoundlib.rst
+18
-8
18 additions, 8 deletions
modules/conop/doc/compoundlib.rst
modules/doc/install.rst
+4
-1
4 additions, 1 deletion
modules/doc/install.rst
with
22 additions
and
9 deletions
modules/conop/doc/compoundlib.rst
+
18
−
8
View file @
9262ea8f
...
@@ -19,6 +19,20 @@ latest compound definitions, follow :ref:`these instructions <mmcif-convert>` to
...
@@ -19,6 +19,20 @@ latest compound definitions, follow :ref:`these instructions <mmcif-convert>` to
build the compound library manually.
build the compound library manually.
.. function:: GetDefaultLib()
:return: Default compound library set by :func:`SetDefaultLib`. If you got
OpenStructure as a bundle or you :ref:`compiled <cmake-flags>` it
with a specified ``COMPOUND_LIB`` flag, this will return a compound
library when executing scripts with ``ost``.
:rtype: :class:`CompoundLib`
.. function:: SetDefaultLib(lib)
:param lib: Library to be set as default compound library.
:type lib: :class:`CompoundLib`
.. class:: CompoundLib
.. class:: CompoundLib
.. staticmethod:: Load(database, readonly=True)
.. staticmethod:: Load(database, readonly=True)
...
@@ -69,19 +83,15 @@ build the compound library manually.
...
@@ -69,19 +83,15 @@ build the compound library manually.
.. method:: GetOSTVersionUsed()
.. method:: GetOSTVersionUsed()
reads out ost_version_used from the table chemlib_info.
:return: OST version (ost_version_used from the table chemlib_info)
:rtype: :class:`str`
:returns: a version string
:rtype: :class:`String`
.. method:: GetCreationDate()
.. method:: GetCreationDate()
reads out creation_date from the table chemlib_info.
:return: creation date (creation_date from the table chemlib_info)
:rtype: :class:`str`
:returns: a date string (Py), a Date (C++)
:rtype: :class:`String` (Py), :class:`Date`
.. class:: Compound
.. class:: Compound
Holds the description of a chemical compound, such as three-letter-code, and
Holds the description of a chemical compound, such as three-letter-code, and
...
...
This diff is collapsed.
Click to expand it.
modules/doc/install.rst
+
4
−
1
View file @
9262ea8f
...
@@ -118,6 +118,8 @@ On Windows you have to explicitly set the build generator to "Visual Studio 9 20
...
@@ -118,6 +118,8 @@ On Windows you have to explicitly set the build generator to "Visual Studio 9 20
cmake -G"Visual Studio 9 2008"
cmake -G"Visual Studio 9 2008"
.. _cmake-flags:
Flags to Control the Dependencies
Flags to Control the Dependencies
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
@@ -141,7 +143,8 @@ By default, `CMake <http://cmake.org>`_ searches the standard directories for de
...
@@ -141,7 +143,8 @@ By default, `CMake <http://cmake.org>`_ searches the standard directories for de
of a certain residue or connectivities between atoms etc. The
of a certain residue or connectivities between atoms etc. The
:doc:`compound library <conop/compoundlib>` itself is created from the
:doc:`compound library <conop/compoundlib>` itself is created from the
component dictionary by calling the OpenStructure chemdict_tool.
component dictionary by calling the OpenStructure chemdict_tool.
By default this is switched off.
By default this is switched off but it is highly recommended to provide a
compound library to use all features of OpenStructure.
* `COMPILE_TMTOOLS` will activate bindings for TMAlign and TMScore, which are
* `COMPILE_TMTOOLS` will activate bindings for TMAlign and TMScore, which are
then available at python level. This option requires a Fortran compiler.
then available at python level. This option requires a Fortran compiler.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment