OpenMDAO / dymos

Open Source Optimization of Dynamic Multidisciplinary Systems
Apache License 2.0
208 stars 66 forks source link

AttributeError: 'Phase' object has no attribute 'get_source' #410

Closed Liung closed 4 years ago

Liung commented 4 years ago

Description

when I try to run the dymos examples "test_aircraft_cruise.py", python console raise error like "AttributeError: 'Phase' object has no attribute 'get_source'"

I check the phase class and the Phase class has not the method of 'get_source'.

it is bug? please help me , thanks!

Environment

Operating System: Windows 10 Python environment: Anaconda Python 3.7.1 Packages: Dymos:0.16.0.dev0, OpenMDAO: 3.3.0

robfalck commented 4 years ago

This is one of the changes made to our master branch to accommodate the very latest OpenMDAO revision. If you use OpenMDAO from it's master branch, this will go away.

Otherwise, the next release of OpenMDAO should happen by the end of the week, and we plan on releasing Dymos 0.16.0 at about the same time.

Liung commented 4 years ago

okay, I known. 3ks