예제 #1
0
파일: chain.py 프로젝트: crosvera/ProDy
 def __init__(self, ag, indices, acsi=None, **kwargs):
     
     AtomSubset.__init__(self, ag, indices, acsi, **kwargs)
     self._segment = kwargs.get('segment')
     self._seq = None
     self._dict = dict()
     self._list = list()
예제 #2
0
 def __init__(self, ag, indices, acsi=None, **kwargs):
     
     AtomSubset.__init__(self, ag, indices, acsi, **kwargs)
     
     chain = kwargs.get('chain')
     if chain is not None:
         chain._dict[(self.getResnum(), 
                      self.getIcode() or None)] = len(chain._list)
         chain._list.append(self)
     self._chain = chain
예제 #3
0
 def __init__(self, ag, indices, acsi=None, **kwargs):
     
     AtomSubset.__init__(self, ag, indices, acsi, **kwargs)
     
     self._seq = None
     self._dict = dict()
     self._list = list()
     
     segment = kwargs.get('segment')
     if segment is not None:
         segment._dict[self.getChid()] = len(segment._list)
         segment._list.append(self)
     self._segment = segment
예제 #4
0
 def __init__(self, ag, indices, acsi=None, **kwargs):
     
     AtomSubset.__init__(self, ag, indices, acsi, **kwargs)
     self._dict = dict()
     self._list = list()
예제 #5
0
파일: residue.py 프로젝트: crosvera/ProDy
 def __init__(self, ag, indices, acsi=None, **kwargs):
     
     AtomSubset.__init__(self, ag, indices, acsi, **kwargs)
     self._chain = kwargs.get('chain')
예제 #6
0
 def __init__(self, ag, indices, selstr, acsi=None, **kwargs):
     
     kwargs['selstr'] = selstr
     AtomSubset.__init__(self, ag, indices, acsi, **kwargs)
예제 #7
0
파일: segment.py 프로젝트: anindita85/ProDy
 def __init__(self, ag, indices, hv, acsi=None, **kwargs):
     
     AtomSubset.__init__(self, ag, indices, acsi, **kwargs)
     self._hv = hv