Skip to content

Commit 60be42c

Browse files
jeanwsrsunqm
authored andcommitted
fix log msg; update .gitignore
1 parent d214021 commit 60be42c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ var/
2121
*.egg-info/
2222
.installed.cfg
2323
*.egg
24+
libdftd3/
2425

2526
# Local log files
2627
*~

pyscf/dftd3/itrf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ def classify(mol_basis):
317317
break
318318
if (len(basis_types) > 1 and
319319
all(b == basis_type for b in basis_types)):
320-
logger.warn('Mutliple types of basis found in mol.basis. '
321-
'Type %s is applied\n' % basis_type)
320+
logger.warn(mol, 'Mutliple types of basis found in mol.basis. '
321+
'Type %s is applied\n', basis_type)
322322
else:
323323
basis_type = classify(mol.basis)
324324
return basis_type

0 commit comments

Comments
 (0)