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

Reduce Parameter API #121

Merged
merged 8 commits into from Jan 24, 2018
Merged

Conversation

tomalrussell
Copy link
Member

Testing an opinion on how to organise subpackages and expose classes in __init__.py

Also introducing a Parameter object and some (hopefully) simplification of ParameterList.

@coveralls
Copy link

coveralls commented Jan 22, 2018

Coverage Status

Coverage decreased (-0.02%) to 90.286% when pulling 564eca6 on tomalrussell:feature/parameters into 4712e8f on nismod:master.

Copy link
Member

@willu47 willu47 left a comment

Choose a reason for hiding this comment

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

I like the new api documentation - particularly the table showing classes with the one-liner description. It's much easier to navigate.

I miss the readme landing page for the documentation with our badges and "Word from our sponsor" section, also giving continuity between the readthedocs and github view. Perhaps we move detailed install and config out of the readme and into the relevant pages in the docs and keep a simplified readme?

- expose ParameterList and Narrative directly on smif.parameters
- move implementation to hidden submodules
- create Parameter class to hold individual parameter metadata

Intended to reduce the API size and be more explicit about data
required (replacing plain dicts with data object).
- gives finer control over auto-generated docs
- requires better-apidoc package, added to test-requirements
@tomalrussell tomalrussell merged commit 0490536 into nismod:master Jan 24, 2018
@tomalrussell tomalrussell deleted the feature/parameters branch January 24, 2018 15:39
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