Skip to content

Commit

Permalink
Refactor Wavecar instantiation in generate_parchg function
Browse files Browse the repository at this point in the history
  • Loading branch information
wladerer committed Feb 22, 2024
1 parent 96d99ca commit c9dbea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsh/scripts/wavecar.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_partial_charge_density(

def generate_parchg(args):
"""Generates a PARCHG file from a WAVECAR file."""
wave = Wavecar(args.input, args.vasp_type)
wave = Wavecar(args.input, vasp_type=args.vasp_type)
poscar = Poscar.from_file(args.structure)

# sanitize the input
Expand Down

0 comments on commit c9dbea5

Please sign in to comment.