For some reason David, you have to pass the **kwargs keyword list too. I'm not
sure why but this worked for me,
python
from pymol import cmd, stored, CmdException
class Helix():
def __init__(self,selection):
self.selection = selection
def my_module(*args,**kwargs):
helices = [He
Could you just initialize your helix class with the object at the time of
creation? Also why are you passing the superclass object to Helix?
> class Helix():
> def __init__(self,selection):
> self.selection = selection
>
> def my_module(*selections):
> helices = [Helix(x) for x i