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

Optional shim code when downloading a project with scripts #179

Open
WardBrian opened this issue Jul 31, 2024 · 3 comments · May be fixed by #245
Open

Optional shim code when downloading a project with scripts #179

WardBrian opened this issue Jul 31, 2024 · 3 comments · May be fixed by #245
Labels
Milestone

Comments

@WardBrian
Copy link
Collaborator

I think it would be nice if, when saving a file, you got an extra check box that allowed you to add a pre-written main.py or main.R to the download.

This file would contain cmdstanpy/cmdstanr code to build the model, run it with your sampling options, and then produce objects compatible with the ones we provide in analysis.py/R

@WardBrian WardBrian added this to the post-1.0 milestone Jul 31, 2024
@magland
Copy link
Collaborator

magland commented Jul 31, 2024

That would be pretty slick. I guess when loading such a project into SP, those extra files would get ignored? If so, we should think about how to name them because we may want to use those file names for a different purpose within the UI, who knows.

@WardBrian
Copy link
Collaborator Author

I guess when loading such a project into SP, those extra files would get ignored? If so, we should think about how to name them because we may want to use those file names for a different purpose within the UI, who knows.

That's what I was thinking. If main is something we might want to use in the future, I think run is another solid option, and one I have a hard time imagining us wanting in the site

@magland
Copy link
Collaborator

magland commented Jul 31, 2024

run sounds good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants