Skip to content

Commit

Permalink
Merge pull request #74 from teddygroves/messages
Browse files Browse the repository at this point in the history
Add messages
  • Loading branch information
teddygroves authored Feb 28, 2024
2 parents 1a3a954 + e9ae2b3 commit a43c0be
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
21 changes: 21 additions & 0 deletions copier.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
_subdirectory: template
_message_before_copy: |
Welcome to bibat, the batteries-included Bayesian analysis template!
You'll be asked a series of questions whose answers will be used to
generate a tailored project for you.
project_name:
type: str
help: Name of your project
Expand Down Expand Up @@ -41,3 +46,19 @@ docs_format:
create_dotgithub_directory:
type: bool
default: yes
_message_after_copy: |
Your project "{{ project_name }}" has been created successfully!
Next steps:
1. Change directory to the project root:
$ cd {{ _copier_conf.dst_path }}
2. Run the example analysis:
$ make analysis
3. Edit the example analysis so that it does what you want.
Find out more here: https://bibat.readthedocs.io
3 changes: 1 addition & 2 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

## How to copy bibat's template

To start a new Bayesian workflow project using bibat, first install [copier]
(https://copier.readthedocs.io/en/stable/), e.g. like this:
To start a new Bayesian workflow project using bibat, first install [copier](https://copier.readthedocs.io/en/stable/), e.g. like this:

```sh
$ pipx install copier
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "bibat"
authors = [
{name = "Teddy Groves", email = "[email protected]"},
]
version = "0.3.1"
version = "0.3.2"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
Expand Down
2 changes: 1 addition & 1 deletion template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"arviz",
"bibat==0.3.1",
"bibat==0.3.2",
"cmdstanpy",
"jupyter",
"numpy",
Expand Down

0 comments on commit a43c0be

Please sign in to comment.