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

bokeh timeseries plots now comply with OpenMDAO's placement of recorder files. #1106

Merged
merged 23 commits into from
Aug 23, 2024

Conversation

robfalck
Copy link
Contributor

Summary

The latest OpenMDAO change puts recorder files in the problem outputs directory by default. This change makes dymos' timeseries plots handle that correctly.

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -31,7 +31,7 @@ jobs:
SCIPY: '1.13'
PETSc: '3.19'
PYOPTSPARSE: 'v2.11.0'
OPENMDAO: 'latest'
OPENMDAO: 'dev'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed to dev to avoid backwards compatibility code in the documentation.

description: Verifies that documentation notebooks contain no output cells.
language: python
pass_filenames: false
entry: python ./docs/clean_notebooks.py --dryrun ./docs
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added to prevent accidentally commit of unclean notebooks.

@@ -253,3 +255,26 @@ def create_subprob(base_name, comm, reports=False):
str_hash = hashlib.sha256(used_for_security=False)[:8]
p = om.Problem(comm=comm, reports=reports, name=f'{sim_prob_name}_{str_hash}')
return p


def om_version():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removes a lot of duplicate code of converting OpenMDAO version to tuple for comparison.

[tool.ruff.lint.pycodestyle]
max-line-length = 100
max-line-length = 130
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Consistent with pycodestyle settings.

Still need some work to implement pycodestyle checks.

@robfalck robfalck requested a review from swryan August 23, 2024 11:37
@robfalck robfalck merged commit 2b07e69 into OpenMDAO:master Aug 23, 2024
10 checks passed
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.

2 participants