Open
Conversation
drbergman
reviewed
Apr 4, 2025
Collaborator
drbergman
left a comment
There was a problem hiding this comment.
Looks great and straightforward. Have we been able to test on Linux and Windows? I can confirm it works on MacOS (I made sure to clear out the addons/libRoadrunner/roadrunner directory before testing).
I'm also happy to see removal of old comments :)
| else: | ||
| rrlib_dir = my_file[:-7] | ||
| rrlib_dir = my_file[:-4] | ||
| # if os_type.lower().startswith("win"): |
Collaborator
There was a problem hiding this comment.
can we clear out these 4 commented lines?
drbergman
reviewed
Apr 4, 2025
| print('error unzipping the file') | ||
| exit(1) | ||
|
|
||
| print('Done.\n') No newline at end of file |
Collaborator
There was a problem hiding this comment.
Should we also clean up the downloaded zip file for the user?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is a long-overdue update to downloading and using libroadrunner in PhysiCell intracellular models. For a long time, we obtained very old libroadrunner libs and headers from a sourceforge repo that was created many years ago and not maintained. When the Mac arm64 computers came out, we had to build that lib from source. In recent discussions with Herbert Sauro's lab, we now can obtain the latest libroadrunner libs and headers from their releases (which is primarily for their Tellurium Python package) that will (now) work for C/C++/PhysiCell. Their releases are at https://github.com/sys-bio/roadrunner/releases . Look for the "Release" .zip bundles there. We have extracted a (mostly) minimal set of files from the .zip bundles there, for each OS, and host them on our own repo (https://github.com/PhysiCell-Tools/intracellular_libs/tree/main/ode). When building a libroadrunner sample project in PhysiCell, the updated
beta/setup_libroadrunner.pyscript will now download the appropriate OS-dependent bundle from our intracellular_libs repo and build the model with it.