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

Reworked settings and run configuration #32

Merged
merged 426 commits into from
Jan 23, 2024
Merged

Reworked settings and run configuration #32

merged 426 commits into from
Jan 23, 2024

Conversation

mhovd
Copy link
Collaborator

@mhovd mhovd commented Jan 19, 2024

Settings are now read from the config.toml file using config.
Additionally, it can be overrun with environmental variables.

For example, if you have

[config]
tui = true

You may set NPCORE_CONFIG_TUI=false as an environmental variable, which will be respected.
Additionally, the settings used for the run will be saved to file in JSON-format.

Needs some testing before final implementation.

Siel and others added 30 commits April 13, 2023 12:09
Implement option to stop run early by @mhovd
Other files use "id" as the subject identifier, except for the "obs.csv"-file.
PS: Code may need refactoring
TODO: Make the field optional, then check if it exists instead of checking for an empty string.
Optimization routines and the new simulator with covariate support
Formatting of time to correct unit is now in a function
Added new chunk with options (WIP). Tables are now used instead of paragraphs for better control of layout. Constraints now (mostly) use Percentage instead of fixed widths for better scaling to smaller windows.
Implements plot logic
Basic workflow to build and test
@Siel Siel merged commit cd37328 into main Jan 23, 2024
3 checks passed
@Siel
Copy link
Member

Siel commented Jan 23, 2024

Tested and Working

@mhovd mhovd deleted the config branch January 23, 2024 19:57
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

Successfully merging this pull request may close these issues.

2 participants