Skip to content

Commit

Permalink
Fix argument name in slab generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
wladerer committed Nov 16, 2023
1 parent b3c67a9 commit e8fc3d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def slab(subparsers):
"slab", help="Generate slabs from structure using pymatgen"
)

subp_slabgen.add_argument("structure file", type=str, help="Structure file"
subp_slabgen.add_argument("structure", type=str, help="Structure file"
)
subp_slabgen.add_argument(
"-m",
Expand Down
2 changes: 1 addition & 1 deletion scripts/slab.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def run(args):
if args.in_unit_planes:
args.vacuum = 3

structure = structure_from_file(args.structure_file)
structure = structure_from_file(args.structure)
slabs = slab_from_structure(
structure=structure,
miller_plane=args.miller_plane,
Expand Down

0 comments on commit e8fc3d5

Please sign in to comment.