-
Notifications
You must be signed in to change notification settings - Fork 16
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
pass labels argument through when reading chains #232
Conversation
Codecov Report
@@ Coverage Diff @@
## master #232 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 26 26
Lines 2271 2276 +5
=========================================
+ Hits 2271 2276 +5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Ormorod,
thanks so much for stress testing and contributing to anesthetic!
- Could we go for a consistent use of
'.'
rather than"."
for the dictionary keys? This probably isn't perfectly consistent throughout anesthetic, but it's good to clean these things up when they come up... - Could you do the changes also for
anesthetic/read/getdist.py
, please?
I can, guess I should get used to it (I've always preferred @williamjameshandley should I switch to |
There is no rule about this, PEP8 takes a mostly neutral stance, except saying to avoid escaping with backslashes. However, I think there is somewhat of a community consensus (take e.g. the votes on this stackexchange answer) which I try to follow where
So that is what I'd suggest to go with. While I am open to other suggestions, I am strongly in favour of some form of consistency, so seeing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @Ormorod, please feel free to squash and merge.
I noticed that
labels
isn't passed along in the same way ascolumns
when reading chains.