Skip to content

Commit

Permalink
update list literals
Browse files Browse the repository at this point in the history
  • Loading branch information
htz1992213 committed Feb 4, 2024
1 parent fa53ce8 commit 6e92cce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdgo/forcefield/mdgoligpargen.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def run(self):
data_obj = LammpsData.from_file(lmp_file)
element_id_dict = lmp_mass_to_name(data_obj.masses)
coords = data_obj.atoms[["type", "x", "y", "z"]]
lines = list()
lines = []
lines.append(str(len(coords.index)))
lines.append("")
for _, r in coords.iterrows():
Expand Down Expand Up @@ -282,7 +282,7 @@ def download_data(self, lmp_name: str):
data_obj = LammpsData.from_file(lmp_file)
element_id_dict = lmp_mass_to_name(data_obj.masses)
coords = data_obj.atoms[["type", "x", "y", "z"]]
lines = list()
lines = []
lines.append(str(len(coords.index)))
lines.append("")
for _, r in coords.iterrows():
Expand Down

0 comments on commit 6e92cce

Please sign in to comment.