Skip to content
Snippets Groups Projects
Commit 37434c17 authored by stefan's avatar stefan
Browse files

Update documentation for SequenceViewer

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2417 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent df164cd0
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,20 @@ With `<ctrl + f>` you can show or hide the search bar which help you finding par ...@@ -114,6 +114,20 @@ With `<ctrl + f>` you can show or hide the search bar which help you finding par
The SequenceViewer class represents a graphical sequence viewer. To see the sequences of a :class:`gfx.Entity`, you The SequenceViewer class represents a graphical sequence viewer. To see the sequences of a :class:`gfx.Entity`, you
can use the :meth:`AddEntity` method. If you want to load an alignment, the :meth:`AddAlignment` method can be used. can use the :meth:`AddEntity` method. If you want to load an alignment, the :meth:`AddAlignment` method can be used.
.. method:: AddEntity(entity)
Add :class:`gfx.Entity` to SequenceViewer.
:param entity: an entity instance
:type entity: :class:`gfx.Entity`
.. method:: RemoveEntity(entity)
Remove entity from sequence viewer.
:param entity: an entity instance
:type entity: :class:`gfx.Entity`
.. method:: AddAlignment(alignment) .. method:: AddAlignment(alignment)
Add :class:`seq.AlignmentHandle` to SequenceViewer. Add :class:`seq.AlignmentHandle` to SequenceViewer.
...@@ -123,7 +137,7 @@ can use the :meth:`AddEntity` method. If you want to load an alignment, the :met ...@@ -123,7 +137,7 @@ can use the :meth:`AddEntity` method. If you want to load an alignment, the :met
.. method:: RemoveAlignment(alignment) .. method:: RemoveAlignment(alignment)
Remove alignment from sequenceviewer. Remove alignment from sequence viewer.
:param alignment: an alignment instance :param alignment: an alignment instance
:type alignment: :class:`seq.AlignmentHandle` :type alignment: :class:`seq.AlignmentHandle`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment