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

Enhancement request: option to put model and examples in the same file #74

Open
nathanielvirgo opened this issue Dec 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@nathanielvirgo
Copy link

For the lfi and similar features, it won't be convenient for every use case to put the examples and the model in separate files. It would be very helpful if there would be an option to put the model and the examples in the same file, e.g. with the format

% model code
---
% example 1
---
% example 2
@VincentDerk
Copy link
Collaborator

I prefer to have the examples in separate files myself, but I understand where you're coming from. If you wish to pursue this, regardless of whether we add support for it, you can a write wrapper method very similar to the current one (see also the used read_examples method).

@VincentDerk VincentDerk added the enhancement New feature or request label Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants