Skip to content

Commit

Permalink
Merge pull request #206 from naik-aakash/update_documentation
Browse files Browse the repository at this point in the history
Minor documentation fixes
  • Loading branch information
JaGeo authored Dec 12, 2023
2 parents 67d9f29 + 2ac489a commit c0f5c03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_dispatch:
push:
branches: [main]
release:
types: [ published ]

# set GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
Expand Down
10 changes: 3 additions & 7 deletions lobsterpy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ def get_parser() -> argparse.ArgumentParser:
# Argument specific to COHPs / COOPs / COBIs plots
coxx_plotting_args = argparse.ArgumentParser(add_help=False)
coxx_plotting_args.add_argument(
"-integr--integrated",
"-integr",
"--integrated",
dest="integrated",
action="store_true",
help="Show integrated cohp/cobi/coop plots.",
Expand Down Expand Up @@ -646,6 +647,7 @@ def get_parser() -> argparse.ArgumentParser:
structure_file,
plotting_parent,
advanced_plotting_args,
coxx_plotting_args,
analysis_switch,
],
help="Plot specific COHPs/COBIs/COOPs based on bond numbers.",
Expand All @@ -656,12 +658,6 @@ def get_parser() -> argparse.ArgumentParser:
type=int,
help="List of bond numbers, determining COHPs/COBIs/COOPs to include in plot.",
)
plot_parser.add_argument(
"-integr",
"--integrated",
action="store_true",
help="Show integrated cohp/cobi/coop plots.",
)
plot_grouping = plot_parser.add_mutually_exclusive_group()
plot_grouping.add_argument(
"--summed",
Expand Down

0 comments on commit c0f5c03

Please sign in to comment.