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

Documentation update #184

Merged
merged 63 commits into from
Dec 23, 2021
Merged

Documentation update #184

merged 63 commits into from
Dec 23, 2021

Conversation

Aakanksha-Rana
Copy link
Member

@Aakanksha-Rana Aakanksha-Rana commented Nov 16, 2021

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Summary

This PR is intended for documentation update of nobrainer functionalities.

Checklist

  • I have added tests to cover my changes
  • I have updated documentation (if necessary)

Acknowledgment

  • I acknowledge that this contribution will be available under the Apache 2 license.

@Aakanksha-Rana
Copy link
Member Author

@satra not sure why all test are failing for this pr. I have just pushed documentation changes that too in spatial transforms.

@satra
Copy link
Contributor

satra commented Nov 18, 2021

E ImportError: This version of TensorFlow Probability requires TensorFlow version >= 2.7; Detected an installation of version 2.6.2. Please upgrade TensorFlow to proceed.

can you fix this separately in a different PR

@Aakanksha-Rana
Copy link
Member Author

More documentation changes coming.

@Aakanksha-Rana
Copy link
Member Author

Aakanksha-Rana commented Nov 19, 2021

@satra this is ready to go!

Copy link
Contributor

@satra satra left a comment

Choose a reason for hiding this comment

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

a few more updates to this PR to conform with python PEP/tensorflow styles. i left a few changes, but realized i can't change all through the same interface. left a link to the tensorflow docs to provide an example.

nobrainer/spatial_transforms.py Outdated Show resolved Hide resolved
nobrainer/spatial_transforms.py Outdated Show resolved Hide resolved
nobrainer/spatial_transforms.py Outdated Show resolved Hide resolved
nobrainer/spatial_transforms.py Outdated Show resolved Hide resolved
nobrainer/models/vnet.py Outdated Show resolved Hide resolved
nobrainer/bayesian_utils.py Outdated Show resolved Hide resolved
Copy link
Contributor

@satra satra left a comment

Choose a reason for hiding this comment

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

The docstrings aren't consistent throughout yet.

  • docstrings should begin with a single line summary. however, some are indented into the second line (https://www.python.org/dev/peps/pep-0257/)
  • some docstrings say parameters and others say args
  • some don't have newlines between texts and sections.

i was going to merge it, but i think it's better if we clean up all the changes before we merge.

@Aakanksha-Rana
Copy link
Member Author

@satra, please let me know if this needs a fix. thanks.

@satra satra merged commit f5e0d43 into neuronets:master Dec 23, 2021
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

2 participants