pymod_main.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:pymod 作者: pymodproject 项目源码 文件源码
def save_full_model_to_file(self, full_model):
        save_file_full_path = asksaveasfilename(defaultextension = "", filetypes = [("PDB","*.pdb")], parent=pymod.main_window)
        if save_file_full_path != "":
            # Moves the saved file to the path chosen by the user.
            try:
                old_path = full_model.original_file_path
                os.rename(old_path, save_file_full_path)
            except:
                title = "File Error"
                message = "Could not save the alignment file to path: %s" % (save_file_full_path)
                self.show_error_message(title, message)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号