Skip to content

Commit

Permalink
attr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TL231 committed Dec 6, 2024
1 parent 3538fc5 commit dc479a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qibochem/driver/molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class Molecule:
n_active_e = attr.ib(default=0, validator=attr.validators.instance_of(int))
n_active_orbs = attr.ib(default=0, validator=attr.validators.instance_of(int))

#Runs after init, formerly the _process_xyz_file function
def __attrs_post_init__(self):
"""
Reads a .xyz file to obtain and set the molecular coordinates (in OpenFermion format),
Expand Down

0 comments on commit dc479a1

Please sign in to comment.