Skip to content

Commit

Permalink
Fixed a bug in dpgen/auto_test/Lammps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tuoping authored and tuoping committed Jun 1, 2021
1 parent fb08b80 commit 47645a5
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 47645a5

Please sign in to comment.