Skip to content

Commit

Permalink
Merge pull request #40 from molssi-seamm/database
Browse files Browse the repository at this point in the history
Adding control over the database to jobs.
  • Loading branch information
seamm authored Oct 24, 2021
2 parents a55effd + dc61bb0 commit 0b490c6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions seamm_util/argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,20 @@ def seamm_parser(name="SEAMM"):
# add options for the job
parser.add_argument_group("SEAMM", "job options", "Options for jobs")

parser.add_argument(
"SEAMM",
"--database",
group="job options",
default="seamm.db",
help="The database for this job.",
)
parser.add_argument(
"SEAMM",
"--read-only",
group="job options",
action="store_true",
help="Whether to open the database as read-only.",
)
parser.add_argument(
"SEAMM",
"--standalone",
Expand Down

0 comments on commit 0b490c6

Please sign in to comment.