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

enable reload setting xml file. #346

Closed

Conversation

elmbeech
Copy link
Contributor

@elmbeech elmbeech commented Jan 4, 2025

pull request which replaces the staled pull requests: #344, #298, #264, #250 and #232.

These changes are the bare minimum needed to reload a setting xml file, to be able to run in the same runtime multiple consecutive episodes of a physicell run.

This pull request is compatible with physicell version 1.14.1 and keeps the changes to the existing code bases as small as possible.
Default settings were chosen so that the current model not will break through these changes.

The code was extensively tested here: https://github.com/elmbeech/episode

Copy link
Collaborator

@drbergman drbergman left a comment

Choose a reason for hiding this comment

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

I like the changes made here, making the changes more targeted. I just want to document the data that can be re-read in here. I will ignore units and other miscellaneous items that do not affect simulations.

PhysiCell_settings

  • max time
  • time steps
  • all save parameters
  • substrate plot parameters
  • omp num threads
  • legacy random on unit sphere
  • disable_automated_spring_adhesions
  • random seed (if an int is given, then all episodes will restart from that seed)
  • domain size and voxel size (if these are changed during a reload, then they will not be carried over to BioFVM)

BioFVM microenvironment

  • substrate ics
    • if from file, the file folder/name/type cannot be changed between episodes
    • if from XML, does not re-read the XML; just uses the values read in the first time
  • DCs
    • enabled and values reset to what was read in the first time

@elmbeech
Copy link
Contributor Author

elmbeech commented Jan 6, 2025

thank you!

@elmbeech elmbeech mentioned this pull request Jan 12, 2025
@elmbeech
Copy link
Contributor Author

merged into pull request #349

@elmbeech elmbeech closed this Jan 14, 2025
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