-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add Morpheus Button for Loading and Simulating Public Models #2180
base: main
Are you sure you want to change the base?
Conversation
We expect the button in SEEK that, when clicked: Downloads the published Moupheus model. Opens the locally installed Morpheus application. Automatically loads the model and starts the simulation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, just a couple of minor changes
@@ -57,6 +57,7 @@ jerm_enabled: | |||
email_enabled: | |||
jws_enabled: | |||
copasi_enabled: | |||
morpheus_enabled: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs a default setting in config/initializers/seek_configuration.rb
- which I think should be true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shoud i also add a default setting in config/initializers/seek_configuration.rb for copasi,
Seek::Config.default :copasi_enabled, true
|
||
# for a public Morpheus model, if Morpheus is not enabled, the button is hidden | ||
with_config_value(:morpheus_enabled, false) do | ||
get :show, params: { id: public_model } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be good to have each of these get :show
requests and test in separate tests, to avoid problems when rack
is updated to v3+
…avoid problems when rack is updated to v3+
…r copasi and morpheus
Morpheus is a modeling and simulation environment for the study of multi-scale and multicellular systems.
This PR introduces a Morpheus button that allows users to load publicly available Morpheus models into their locally installed Morpheus application and start simulations. The feature is similar to the existing Copasi button.
Key Features: