-
Notifications
You must be signed in to change notification settings - Fork 105
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
#148 Improve functionality of the config parsing #241
Conversation
That's fine, lam_over_diam is good. Sorry for missing that query (I'd On Fri, Sep 7, 2012 at 6:18 AM, Mike Jarvis notifications@github.comwrote:
Barnaby Rowe Department of Physics & Astronomy |
Yes, sorry I missed that query. I'm fine with whatever you want to do for At this point, I think that this is quite a useful expansion of the config system, and a really amazing set of examples, thank you Mike! I would be fine with merging whenever. I suggest the following schedule -
And then I think we can focus on the remaining issues for releasing the code within GREAT3, namely the documentation drive (we have 5 volunteers to go over the galsim/ python docstrings) and installation procedures. It's coming together... |
I think I addressed all comments and suggested changes. So I'm fine with merging whenever, but also happy to wait for more people to have a chance to comment. |
OK, so I think we're still all good to merge here? I'll leave it until mid-morning EDT to see if there are any objections, then will merge... But it's OK to wait longer if people want more time, so please just let us know. Thanks for all the work on this branch everybody, particularly Mike. |
Yes, I think we're fine to merge. |
(and once we do, I will make a pull request for 214, which i branched off of this branch) |
Barney, if you're merging, will you also take care of the list (in the 1st message on the pull request) of issues that are to be closed / modified because of this one? (153, etc.) |
Will do! Barnaby Rowe Department of Physics & Astronomy On 10 Sep 2012, at 14:59, rmandelb wrote:
|
OK, I think I've closed all the related issues... Did one last compilation and |
#148 Improve functionality of the config parsing
There are now configuration files (both yaml and json) that build the same files as those built by 8 current demo scripts. These are in
examples/*.yaml
andexamples/json/*.json
. (I think it's fair to say that yaml is our preferred format, hence the json files being relegated to a subdirectory.)There are two executable scripts in the examples directory called check_yaml and check_json, which run both the Demo.py files and also the versions that parse the .yaml or .json config files (respectively) and compare their outputs. The scripts aren't very sophisticated, but if the last line of output is
then everything is working correctly.
There is also fairly complete documentation on the wiki, which could be considered part of the pull request, even though it won't show up in the diff.
The branch to be merged is #148, but other issues that could likely be closed after this is merged are:
object_param_dict
is kept updated #153 We got rid of the object_param_dict, so we don't need unit tests to keep it updated. (And there are now unit tests for the new way of doing the config stuff.)