コード例 #1
0
ファイル: baseml.py プロジェクト: wl2wl2/biopython
    def _set_rel_paths(self):
        """Convert all file/directory locations to paths relative to the current working directory.

        BASEML requires that all paths specified in the control file be
        relative to the directory from which it is called rather than
        absolute paths.
        """
        Paml._set_rel_paths(self)
        if self.tree is not None:
            self._rel_tree = _relpath(self.tree, self.working_dir)
コード例 #2
0
ファイル: codeml.py プロジェクト: LyonsLab/coge
 def _set_rel_paths(self):
     """Convert all file/directory locations to paths relative to the current working directory.
     
     CODEML requires that all paths specified in the control file be
     relative to the directory from which it is called rather than 
     absolute paths.
     """
     Paml._set_rel_paths(self)
     if self.tree is not None:
         self._rel_tree = _relpath(self.tree, self.working_dir)