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

Case Recording Alpha #296

Merged
merged 204 commits into from Jul 31, 2017
Merged

Case Recording Alpha #296

merged 204 commits into from Jul 31, 2017

Conversation

kmarsteller
Copy link
Contributor

No description provided.

hschilling and others added 30 commits March 21, 2017 10:40
Keith Marsteller and others added 24 commits July 14, 2017 15:15
…at_top

# Conflicts:
#	openmdao/devtools/problem_viewer/problem_viewer.py
…er and update filename expectations. Now passing path to view_model rather than simply its name
@@ -194,15 +270,29 @@ def get_constraint_values(self, ctype='all', lintype='all'):
Default is 'all'. Optionally return just the linear constraints
with 'linear' or the nonlinear constraints with 'nonlinear'.

filter : list
List of objective names used by recorders.
Copy link
Member

Choose a reason for hiding this comment

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

For this method in the doctstring, objective --> constraint

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ARGGGH, stupid copy/paste errors! Fixed locally.

@@ -2605,15 +2618,6 @@ def _solve_linear(self, vec_names, mode):
list of names of the right-hand-side vectors.
mode : str
'fwd' or 'rev'.

Copy link
Member

Choose a reason for hiding this comment

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

This method is always overriden, and the versions of it in subclasses have these returns. Don't we want the parent class stubs to have the fully documented docstring args and returns? I don't know the answer, but what does eveyone think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Did I change this? Or are you just asking in general?

Copy link
Member

Choose a reason for hiding this comment

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

Well I mean you deleted the "Returns" part of the docstring, but i am arguing that it should be restored because the child overrides return that stuff.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OH, the diff I'm seeing looked like a blank line got deleted. I'll restore it. I'm not sure why that would have been on my radar to delete. Likely an error.

@naylor-b naylor-b merged commit 60e676d into OpenMDAO:master Jul 31, 2017
hschilling pushed a commit to hschilling/OpenMDAO that referenced this pull request Feb 24, 2021
* replace load_case with re_interpolate_solution

* add more error checking to test_load_case

* fix pep8 complaints
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

6 participants