예제 #1
0
파일: atom.py 프로젝트: anindita85/ProDy
 def setHetero(self, data):
     """Deprecated for removal in v1.3, use ``setFlag('hetatm', data)``
     instead."""
     
     from prody import deprecate
     deprecate('setHerero', "setFlag('hetatm', data)", '1.3')
     return self.setFlag('hetatm', data)
예제 #2
0
파일: atommap.py 프로젝트: anindita85/ProDy
    def getMappedFlags(self):
        """Deprecated for removal in v1.3, use :meth:`getFlags` instead 
        (``getFlags('mapped')``)."""

        from prody import deprecate
        deprecate('getMappedFlags', "getFlags('mapped')")        
        return self.getFlags('mapped')
예제 #3
0
파일: atommap.py 프로젝트: anindita85/ProDy
 def getHeteros(self):
     """Deprecated for removal in v1.3, use ``getFlags('hetatm')`` instead.
     """
     
     from prody import deprecate
     deprecate('getHereros', "getFlags('hetatm')", '1.3')
     return self.getFlags('hetatm')
예제 #4
0
def getNonstdProperties(resname):
    """Deprecated for removal in v1.4, use :func:`listNonstdAAProps` instead.
    """

    from prody import deprecate
    deprecate('getNonstdProperties', 'listNonstdAAProps')

    return listNonstdAAProps(resname)
예제 #5
0
파일: flags.py 프로젝트: fongchun/ProDy
def getNonstdProperties(resname):
    """Deprecated for removal in v1.4, use :func:`listNonstdAAProps` instead.
    """

    from prody import deprecate
    deprecate('getNonstdProperties', 'listNonstdAAProps')

    return listNonstdAAProps(resname)
예제 #6
0
파일: modeset.py 프로젝트: anindita85/ProDy
 def getModes(self):
     """Deprecated for removal in v1.3, use ``list(nma)`` instead."""
     
     from prody import deprecate
     deprecate('getModes', 'list(nma)')
     return list(self)
예제 #7
0
 def isData(self, label):
     """Deprecated, use :meth:`isDataLabel` instead."""
     
     from prody import deprecate
     deprecate('isData', 'isDataLabel', 'v1.3')
     return self.isDataLabel(label)
예제 #8
0
파일: nma.py 프로젝트: anindita85/ProDy
 def getMode(self, index):
     """Deprecated for removal in v1.3, use indexing instead."""
     
     from prody import deprecate
     deprecate('getMode', 'nma[index]')
     return self[index]
예제 #9
0
파일: logger.py 프로젝트: anindita85/ProDy
    def setVerbosity(self, level):
        """Deprecated for removal in v1.3, set :attr:`verbosity` directly."""

        from prody import deprecate
        deprecate('setVerbosity', 'verbosity')
        self._setverbosity(level)
예제 #10
0
 def getCovariance(self):
     """Deprecated, use :func:`~.calcCovariance` instead."""
     
     prody.deprecate('getCovariance', 'calcCovariance')
     return prody.calcCovariance(self)
예제 #11
0
 def getEigenvectors(self):
     """Deprecated, use :meth:`getEigvecs` instead."""
     
     prody.deprecate('getEigenvector', 'getEigvecs')
     return self.getEigvecs()
예제 #12
0
 def getEigenvalues(self):
     """Deprecated, use :meth:`getEigvals` instead."""
     
     prody.deprecate('getEigenvalue', 'getEigvals')
     return self.getEigvals()
예제 #13
0
파일: logger.py 프로젝트: anindita85/ProDy
    def getVerbosity(self):
        """Deprecated for removal in v1.3, get :attr:`verbosity` directly."""

        from prody import deprecate
        deprecate('getVerbosity', 'verbosity')
        return self._getverbosity()
예제 #14
0
파일: logger.py 프로젝트: anindita85/ProDy
 def closeLogfile(self, filename):
     """Deprecated, use :meth:`close` instead."""
     
     from prody import deprecate
     deprecate('closeLogfile', 'close')
     self.start(filename)
예제 #15
0
파일: logger.py 프로젝트: anindita85/ProDy
 def startLogfile(self, filename, **kwargs):
     """Deprecated, use :meth:`start` instead."""
     
     from prody import deprecate
     deprecate('startLogfile', 'start')
     self.start(filename, **kwargs)
예제 #16
0
파일: logger.py 프로젝트: anindita85/ProDy
    def getPrefix(self):
        """Deprecated for removal in v1.3, get :attr:`prefix` directly."""

        from prody import deprecate
        deprecate('getPrefix', 'prefix')
        return self._prefix
예제 #17
0
 def get4x4Matrix(self):
     """Deprecated for removal in v1.1, use :meth:`getMatrix` instead."""
     
     deprecate('get4x4Matrix', 'getMatrix')
     return self.getMatrix()
예제 #18
0
# ProDy: A Python Package for Protein Dynamics Analysis
#
# Copyright (C) 2010-2012 Ahmet Bakan
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>
"""Deprecated for removal in v1.2, use :mod:`.utilities` instead."""

__author__ = "Ahmet Bakan"
__copyright__ = "Copyright (C) 2010-2012 Ahmet Bakan"

from prody import deprecate

deprecate("prody.tools", "prody.utilities", ver="1.2")

from prody import utilities
from prody.utilities import *

__all__ = list(utilities.__all__)