Skip to content

Commit

Permalink
warning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranavkhade committed Jul 17, 2023
1 parent 0875100 commit 9ad0fb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packman/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@


#VERSION CHANGE HERE CHANGES IT IN docs AND setup.py
__version__='1.4.7'
__version__='1.4.8'
8 changes: 4 additions & 4 deletions packman/molecule/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ def __init__(self,id,AllAtoms,AllResidues,AllChains,AllHetAtoms,AllHetMols):
self.__properties = {}

def __getitem__(self,ChainID):
try:
return self.__AllChains[ChainID]
except KeyError:
logging.warning('Please provide a valid chain ID.')
#try:
return self.__AllChains[ChainID]
#except KeyError:
# logging.warning('Please provide a valid chain ID.')

#Get Functions
def get_id(self):
Expand Down

0 comments on commit 9ad0fb6

Please sign in to comment.