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

configNumericInputs branch is to track the config's numerical inputs #1

Closed
0ldM4j0r opened this issue Jul 4, 2017 · 4 comments
Closed
Assignees

Comments

@0ldM4j0r
Copy link
Collaborator

0ldM4j0r commented Jul 4, 2017

Latest commit at the time of creating this issue: 7d6f5a3

@0ldM4j0r 0ldM4j0r changed the title configNumericInputs Branch is to track the config's numerical inputs configNumericInputs branch is to track the config's numerical inputs Jul 4, 2017
@0ldM4j0r
Copy link
Collaborator Author

I am still facing difficulties when trying to dynamically generate numeric inputs for the priors and proposals. I had one renderUI instance render the drop down menu for choosing the prior and proposals distributions and the numeric inputs for said distributions 4e4caba. This was a problem as renderUI renders all the expressions passed through it as one block, which means that the drop down menu that the numeric inputs depend on wasn't rendered before rendering the numeric inputs but at the same time. I split them to counteract the problem but that did seem to solve the issue 7d6f5a3.

@ArtPoon
Copy link
Contributor

ArtPoon commented Jul 11, 2017

Actual error:

Warning: Error in [[: attempt to select less than one element in get1index
Stack trace (innermost first):
    79: renderUI [/Users/art/git/KaphiShiny/app.R#343]
    78: func
    77: origRenderFunc
    76: output$SIRDPriormuDistributionParameters
     1: runApp

@ArtPoon
Copy link
Contributor

ArtPoon commented Jul 11, 2017

To reproduce, select Compartmental in General Model dropdown menu

@0ldM4j0r
Copy link
Collaborator Author

Fixed in configNumericInputs branch. see commits 74c8af6 & 5e936d8.

Opening issue #6 with the generated errors after the dynamic generation of inputs.

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

No branches or pull requests

2 participants