Skip to content

Commit

Permalink
Merge pull request #146 from lsst/tickets/DM-31976
Browse files Browse the repository at this point in the history
DM-31976: Use register-dataset-types option from daf_butler now
  • Loading branch information
timj committed Oct 7, 2021
2 parents 8d346af + 7063a7f commit 5edb1e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion python/lsst/ctrl/mpexec/cli/opt/optionGroups.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(self):
option_section(sectionText="Meta-information output options:"),
ctrlMpExecOpts.skip_init_writes_option(),
ctrlMpExecOpts.init_only_option(),
ctrlMpExecOpts.register_dataset_types_option(),
dafButlerOpts.register_dataset_types_option(),
ctrlMpExecOpts.no_versions_option()]


Expand Down
6 changes: 0 additions & 6 deletions python/lsst/ctrl/mpexec/cli/opt/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@ def _to_int(value):
type=MWPath(writable=True, file_okay=True, dir_okay=False))


register_dataset_types_option = MWOptionDecorator("--register-dataset-types",
help=unwrap("""Register DatasetTypes that do not already
exist in the Registry."""),
is_flag=True)


replace_run_option = MWOptionDecorator("--replace-run",
help=unwrap("""Before creating a new RUN collection in an existing
CHAINED collection, remove the first child collection
Expand Down

0 comments on commit 5edb1e5

Please sign in to comment.