Skip to content

Commit

Permalink
fix: Python <3.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mrossinek committed Feb 21, 2022
1 parent 5abfbe4 commit 0753cd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def convert(self, replace: bool = False) -> None:

new_hdf5_file = hdf5_file
if not replace:
new_hdf5_file = hdf5_file.with_stem(str(hdf5_file.stem) + "_new")
new_hdf5_file = hdf5_file.with_name(str(hdf5_file.stem) + "_new.hdf5")

driver_result = ElectronicStructureDriverResult.from_legacy_driver_result(q_mol)
save_to_hdf5(driver_result, str(new_hdf5_file), replace=replace)
Expand Down

0 comments on commit 0753cd5

Please sign in to comment.