Skip to content
Snippets Groups Projects
Commit 77178c8a authored by ansgar's avatar ansgar
Browse files

added default py import to mol; fixed missing py export in residue view

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1903 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent ae74e146
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,11 @@
#------------------------------------------------------------------------------
from _base import *
from ost import geom
from ost import io
from ost import mol
from ost import seq
try:
from ost import gfx
scene = gfx.Scene()
......@@ -29,3 +34,4 @@ try:
from ost import img
except ImportError:
pass
......@@ -57,6 +57,7 @@ void export_ResidueView()
.def("GetChain",&ResidueView::GetChain)
.def("GetAtomList", &ResidueView::GetAtomList,
return_value_policy<copy_const_reference>())
.def("GetAtomCount", &ResidueView::GetAtomCount)
.add_property("atoms",
make_function(&ResidueView::GetAtomList,
return_value_policy<copy_const_reference>()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment