We're updating the issue view to help you get more done. 

Manage imported modules in the Python interface

Description

When a user is working on a Python function called through the Python interface, changes made in the .py file are not picked up in GMAT unless GMAT is restarted. This is because the module has already been imported, and Python needs a different call to reimport a module already in memory.

In the interface, we should either call PyImport_ReloadModule() when a script is run and the module already exists in the Python module table, or call PyImport_Cleanup() when a script run finishes, clearing all of the imported modules.

Environment

None

Assignee

djc@thinksysinc.com

Reporter

djc@thinksysinc.com

Labels

Development Build

None

Time tracking

4h

Components

Sprint

Priority

P1
Configure