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

Fixes #2403 observed data mapping not saved in snapshot. Also Fixes #… #2423

Merged
merged 1 commit into from
Nov 11, 2022

Conversation

msevestre
Copy link
Member

…2422

Copy link
Member Author

@msevestre msevestre left a comment

Choose a reason for hiding this comment

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

Also adds the tabs for output mapping for population

{
var outputPath = new ObjectPath(outputFullPath.ToPathArray());
if (outputPath.Count == 0)
return null;

var simulationName = outputPath[0];
var simulation = project.All<Model.Simulation>().FindByName(simulationName);
var simulation = simulationFromContext(simulationName, snapshotContext);
Copy link
Member Author

Choose a reason for hiding this comment

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

I need to differentiate here. Before simulation were found based on project. When we deal with simulation, we have to take the actual simulation from context

@rwmcintosh rwmcintosh merged commit 06df03b into develop Nov 11, 2022
@rwmcintosh rwmcintosh deleted the 2403-observed-data-mapping-not-saved-snapshot branch November 11, 2022 16:58
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