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

Fixed a bug that was causing timeseries plots to raise an error when a phase didn't contain a variable. #484

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

robfalck
Copy link
Contributor

@robfalck robfalck commented Dec 7, 2020

Summary

In cases where different phases contain different controls, states, or other data, the timeseries plotting function was raising an error. This fixes the issue by skipping the iteration if the variable path is not present in the phase data.

Related Issues

Status

  • Ready for merge

Backwards incompatibilities

None

New Dependencies

None

@robfalck robfalck requested a review from hschilling December 7, 2020 16:08
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 96.204% when pulling 2da3d46 on robfalck:timeseries_plot_missing_data into ca6b6fa on OpenMDAO:master.

@robfalck robfalck removed the request for review from hschilling December 7, 2020 16:46
@robfalck robfalck merged commit 562b73a into OpenMDAO:master Dec 7, 2020
@robfalck robfalck deleted the timeseries_plot_missing_data branch December 17, 2020 13:37
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.

Timeseries plots fail if phases don't contain the same variables.
3 participants