Skip to content

declare explicit thermo_data when adding FlightConditions#98

Merged
Kenneth-T-Moore merged 1 commit intoOpenMDAO:masterfrom
flight-test-engineering:FlightConditions_boolean_fix
May 28, 2025
Merged

declare explicit thermo_data when adding FlightConditions#98
Kenneth-T-Moore merged 1 commit intoOpenMDAO:masterfrom
flight-test-engineering:FlightConditions_boolean_fix

Conversation

@flight-test-engineering
Copy link
Contributor

Summary

When trying to run flight_conditions.py for testing the results, an AttributeError is thrown.
Solution was to add explicit thermo_data when instantiating FlightConditions.

Related Issues

Backwards incompatibilities

None

New Dependencies

None

without passing thermo_data, AttributeError: 'bool' object has no attribute 'products' is thrown.
@swryan swryan requested a review from Kenneth-T-Moore May 28, 2025 12:12
@Kenneth-T-Moore Kenneth-T-Moore merged commit 8a03180 into OpenMDAO:master May 28, 2025
4 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.

pyCycle/pycycle/elements/flight_conditions.py throws AttributError when running file

3 participants