Skip to content

Commit

Permalink
Update CLI help and update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
olantwin committed Jun 12, 2024
1 parent 868fe5f commit d868c90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ it in future.

### Added

* Add option for helium-filled decay volume
* Add pre-commit config: This will be phased in to improve code quality and spot issues as early as possible. Status visible in README and CI enabled for new pull requests.
* Add CHANGELOG.md
* Add `.git-blame-ignore-revs` to allow automatic reformatting etc. without polluting git blame
Expand Down
8 changes: 7 additions & 1 deletion macro/run_simScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,13 @@
parser.add_argument("--scName", help="The name of the SC shield in the database", default="sc_v6")
parser.add_argument("--MesonMother", dest="MM", help="Choose DP production meson source", required=False, default=True)
parser.add_argument("--debug", help="1: print weights and field 2: make overlap check", required=False, default=0, type=int, choices=range(0,3))
parser.add_argument("--helium", help="use helium bag for vacuum tank", required=False, action="store_const", const="helium", default="vacuums")
parser.add_argument(
"--helium",
help="Replace vacuum with helium (vessel structure unchanged)",
action="store_const",
const="helium",
default="vacuums"
)

options = parser.parse_args()

Expand Down

0 comments on commit d868c90

Please sign in to comment.