-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently there are 2 active branches for this repo: main and google-colab, where the google-colab version has minor changes to ensure it runs with verisons compatible with google colab.
When making new FLAMEGPU releases, this is a faff as 2 notebooks have to be modified (and diffing/merging notebooks is grim).
Instead, we could combine these notebooks, and conditionally detect the use of google colab, as @mondus did in FLAMEGPU2_python_sugarscape_tutorial:
import sys
IN_COLAB = 'google.colab' in sys.modules
if IN_COLAB:
... This would simplify reduce faff, but slightly increase the complexity of a single cell in the notebook.
- Combine
google-colabchanges intomainwith guards where needed - Update flamegpu.com/try google colab link
- Delete
google-colabbranch
Suggested by @mondus
Metadata
Metadata
Assignees
Labels
No labels