Skip to content

Fixes #2643 add snapshot as property for individual and expression building blocks#2644

Merged
rwmcintosh merged 1 commit intoV13from
2643-add-snapshot-as-property-for-individual-and-expression-building-blocks
Sep 18, 2025
Merged

Fixes #2643 add snapshot as property for individual and expression building blocks#2644
rwmcintosh merged 1 commit intoV13from
2643-add-snapshot-as-property-for-individual-and-expression-building-blocks

Conversation

@rwmcintosh
Copy link
Member

Fixes #2643

Description

PR facilitates the exchange of snapshots and core building blocks between MoBi and PK-Sim

Type of change

Please mark relevant options with an x in the brackets.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires documentation changes (link at least one user or developer documentation issue):
  • Algorithm update - updates algorithm documentation/questions/answers etc.
  • Other (please describe): Task

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Integration tests
  • Unit tests
  • Manual tests
  • No tests required

Reviewer checklist

Mark everything that needs to be checked before merging the PR.

  • Check if the code is well documented
  • Check if the behavior is what is expected
  • Check if the code is well tested
  • Check if the code is readable and well formatted
  • Additional checks (document below if any)
  • Check if documentation update issue(s) are created if the option This change requires a documentation update above is selected

Screenshots (if appropriate):

Questions (if appropriate):

Comment on lines +60 to +67
public string Serialize<T>(T entityToSerialize)
{
using (var serializationContext = SerializationTransaction.Create(_container))
{
return xElementFor(entityToSerialize, serializationContext).ToString();
}
}

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 also needed a way to serialize building blocks to PKML without writing to file so that they can be shared with MoBi.

@rwmcintosh rwmcintosh merged commit e2420f4 into V13 Sep 18, 2025
1 check passed
@rwmcintosh rwmcintosh deleted the 2643-add-snapshot-as-property-for-individual-and-expression-building-blocks branch September 18, 2025 18:11
@github-project-automation github-project-automation bot moved this to Done in v13 Sep 18, 2025
@Yuri05 Yuri05 moved this from Done to Verified in v13 Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Verified

Development

Successfully merging this pull request may close these issues.

Add snapshot as property for individual and expression building blocks

2 participants