Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-35917: Update split_commas to understand [] list syntax #725

Merged
merged 5 commits into from Aug 26, 2022

Conversation

timj
Copy link
Member

@timj timj commented Aug 22, 2022

"a[1,2]" will no longer be split.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@codecov
Copy link

codecov bot commented Aug 22, 2022

Codecov Report

Merging #725 (d462995) into main (6ee339d) will increase coverage by 0.01%.
The diff coverage is 95.12%.

@@            Coverage Diff             @@
##             main     #725      +/-   ##
==========================================
+ Coverage   84.65%   84.66%   +0.01%     
==========================================
  Files         243      243              
  Lines       32020    32056      +36     
  Branches     6007     6020      +13     
==========================================
+ Hits        27107    27141      +34     
- Misses       3743     3744       +1     
- Partials     1170     1171       +1     
Impacted Files Coverage Δ
tests/test_cliUtilSplitKv.py 97.18% <ø> (ø)
python/lsst/daf/butler/cli/opt/options.py 97.50% <50.00%> (-2.50%) ⬇️
python/lsst/daf/butler/cli/utils.py 94.16% <96.42%> (+0.16%) ⬆️
python/lsst/daf/butler/registry/tests/_registry.py 99.24% <100.00%> (ø)
tests/test_cliUtilSplitCommas.py 95.83% <100.00%> (+0.83%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Contributor

@andy-slac andy-slac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one minor question.

tests/test_cliUtilSplitCommas.py Outdated Show resolved Hide resolved
"a[1,2]" will no longer be split.
It has been decided that it's too dangerous since it is
plausible that someone might want to have a string
config item with a comma in it.
@timj timj merged commit bf8442d into main Aug 26, 2022
@timj timj deleted the tickets/DM-35917 branch August 26, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants