Skip to content
Snippets Groups Projects
Commit b86b87d1 authored by marco's avatar marco
Browse files

allow implicit conversion from int to ResNum in Python

Fixes BZDNG-111

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2220 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent e2b3a001
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,7 @@ void export_Residue()
.def(self+int())
.def(self-int())
;
implicitly_convertible<int, ResNum>();
{
scope sec_struct_scope=class_<SecStructure>("SecStructure", init<>())
.def(init<char>())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment