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

New configuration style #71

Merged

Conversation

wkerzendorf
Copy link
Member

As discussed at the meeting, I have restructured the configuration to the new Paper 1 v1.0 configuration.
This PR also adds a large variety of tests that make sure that the paper configuration file can be read. It also tests several of the ascii readers with test files.

@ssim, @mklauser can you check it and sign off on it?

@ssim
Copy link
Contributor

ssim commented Jan 20, 2014

The examples look good to me. I've not digested the changes to the code readers themselves.
I think it would be an extremely good idea that you update the page of documentation on the yaml file (up on readthedocs) while it's all still fresh in your mind - this is one of the important things that we get straight for people trying to use the code.
Anyway - I'm happy with it.


return element_string[0].upper() + element_string[1:].lower()
add_one: boolean, default: True
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we need add_one. If num > 0, as it should be, it is redundant.

Copy link
Member Author

Choose a reason for hiding this comment

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

Well this was born out of the necessary that we want to have x number of bins. If I do x points then I only have x-1 number of bins. Does that make sense?

wkerzendorf added a commit that referenced this pull request Jan 21, 2014
@wkerzendorf wkerzendorf merged commit 4525be6 into tardis-sn:master Jan 21, 2014
@wkerzendorf wkerzendorf deleted the config/integrate_ascii_readers branch January 21, 2014 18:18
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.

3 participants