Closed arunge closed 1 year ago
@isomemo While looking for the part of code with the parameters that go into the nimbleModel()
function:
https://github.com/Pandora-IsoMemo/resources/blob/21784fc250a89aa418e7a569c9c89914e1e066b0/R/04-runModel.R#L89
I found the part of code that Andreas used to display the model code when a model run is finished: https://github.com/Pandora-IsoMemo/resources/blob/21784fc250a89aa418e7a569c9c89914e1e066b0/R/01-server.R#L1539-L1543
I wanted to avoid to duplicate functionality. That is why I re-used his feature, and added the option to run the code until just before the model calculation.
The new checkbox to "Only show nimble input" is online with version 23.07.0 on Resources beta.
Now the model output tabs are enabled after pressing 'Run' even without finishing the model calculation, and one can check model inputs, before they go into the model.
Adding only a pop up would have been more complicated since the call to nimbleModel()
is nested in another function(). Additionally, the tab that displays the model code already contains a download option.
I hope this will help to identify causes of model run failures.
@arunge thank you but I cannot test it. I get this error:
Error: Could not start application
Server is busy at the moment. Please try again soon.
@isomemo This was due to some maintenance tasks. Currently, all apps are running as expected. Feel free to test. :slightly_smiling_face:
Version 23.07.0
New Features