-
Notifications
You must be signed in to change notification settings - Fork 25
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
Restructure for improved modularity #60
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #60 +/- ##
===========================================
+ Coverage 79.15% 81.16% +2.01%
===========================================
Files 15 18 +3
Lines 379 531 +152
===========================================
+ Hits 300 431 +131
- Misses 79 100 +21
|
.gitattributes
Outdated
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.
Let's keep this
@@ -301,3 +301,6 @@ $RECYCLE.BIN/ | |||
*.lnk | |||
|
|||
# End of https://www.toptal.com/developers/gitignore/api/python,macos,windows,linux,c | |||
|
|||
# Visual Studio Code settings | |||
.vscode/* |
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.
Let's keep
@@ -1,13 +1,13 @@ | |||
# | |||
# Root of the pybop module. | |||
# Root of the PyBOP module. |
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.
We need to sort out a standard for this, real low priority though.
# Provides access to all shared functionality (models, solvers, etc.). | ||
# | ||
# This file is adapted from Pints | ||
# (see https://github.com/pints-team/pints) | ||
# | ||
|
||
import sys | ||
import os | ||
from os import path |
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.
Maybe don't need to change, depends on whether we need any functionality from os in the future.
from .plotting.quick_plot import QuickPlot | ||
|
||
# | ||
# Remove any imported modules, so we don't expose them as part of PyBOP |
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.
Looks good for the above.
Pull request to address issue #54