Skip to content

Commit

Permalink
Make sure / operator acts on a Path object
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Sep 25, 2024
1 parent 3011a19 commit 5b19c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_addon_dice_solver/dice_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def _write_input_files(
) -> None:
"""Prepare the Dice inputs in the specified directory."""
### Move the FCI Dump to dice dir if it's not already there. ###
dice_fci_path = dice_dir / "fcidump.txt"
dice_fci_path = Path(dice_dir) / "fcidump.txt"
if not os.path.exists(dice_fci_path):
shutil.copy(active_space_path, dice_fci_path)
### Write the input.dat ###
Expand Down

0 comments on commit 5b19c87

Please sign in to comment.