예제 #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)