first version
This commit is contained in:
23
script/pymolbase.py
Normal file
23
script/pymolbase.py
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user