24 lines
553 B
Python
24 lines
553 B
Python
#!/usr/bin/env python
|
|
# -*- encoding: utf-8 -*-
|
|
'''
|
|
@file :base.py
|
|
@Description: :PyMOLBase的抽象基类
|
|
@Date :2023/09/01 16:54:02
|
|
@Author :lyzeng
|
|
@Email :pylyzeng@gmail.com
|
|
@version :1.0
|
|
'''
|
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
class PyMOLBase(ABC):
|
|
|
|
@abstractmethod
|
|
def clean_pdb_name(self, pdb_name):
|
|
"""
|
|
This abstract method is meant to clean or process the given PDB name.
|
|
Implement this method in the subclass.
|
|
"""
|
|
pass
|
|
|