Skip to content

Commit

Permalink
Merge pull request #438 from gaiaperaja/normalisation_correction
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocamilloni authored May 7, 2024
2 parents 80fed76 + 8e4558f commit 56fa594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiego/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def initialize_topology(topology, custom_dict):
for atom in molecule_topology[0].atoms:
new_number.append(str(atom.idx + 1))
col_molecule.append(f"{molecule_number}_{molecule_name}")
new_resnum.append(str(atom.residue.number))
new_resnum.append(str(atom.residue.idx + 1))

ensemble_topology_dataframe["number"] = new_number
ensemble_topology_dataframe["molecule"] = col_molecule
Expand Down

0 comments on commit 56fa594

Please sign in to comment.