Skip to content

Commit

Permalink
Merge pull request #423 from tuoping/master
Browse files Browse the repository at this point in the history
Fixed a bug in dpgen/auto_test/Lammps.py
  • Loading branch information
amcadmus authored Jun 3, 2021
2 parents fb08b80 + 47645a5 commit b3a6f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpgen/auto_test/Lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self,
self.inter_type = inter_parameter['type']
self.type_map = inter_parameter['type_map']
self.in_lammps = inter_parameter.get('in_lammps', 'auto')
if self.type_map == 'meam':
if self.inter_type == 'meam':
self.model = list(map(os.path.abspath, inter_parameter['model']))
else:
self.model = os.path.abspath(inter_parameter['model'])
Expand Down

0 comments on commit b3a6f4b

Please sign in to comment.