Skip to content

Commit

Permalink
reusable variable for repo
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrofelder committed Oct 9, 2023
1 parent 5033fbf commit c6d816c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ format:
margin-left: 0
embed-resources: true
page-layout: full
exercises:
org-repo: "rse-best-practices-course-2023/rse-best-practices-playground"
---

## [Neuroinformatics unit](https://neuroinformatics.dev/people.html){preview-link="true"}
Expand Down
4 changes: 2 additions & 2 deletions slides/collaborate.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
:::
::::

## [The development cycle](https://github.com/neuroinformatics-unit/rse-best-practices-playground){preview-link="true" style="text-align: center"}
## [The development cycle](https://github.com/{{< meta exercises.org-repo >}}){preview-link="true" style="text-align: center"}

:::: {.columns}

Expand All @@ -43,7 +43,7 @@
:::
::::

## Exercise: Have you set up [your playground?](https://github.com/neuroinformatics-unit/rse-best-practices-playground-trial/issues/1){preview-link="true" style="text-align: center"}
## Exercise: Have you set up [your playground?](https://github.com/{{< meta exercises.org-repo >}}/issues/1){preview-link="true" style="text-align: center"}


## What makes (research) code good?
Expand Down
4 changes: 2 additions & 2 deletions slides/documentation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_named_colors_mapping():
Docstrings (should) follow an [agreed convention](https://peps.python.org/pep-0257/){preview-link="true"}


## A first task: [writing a docstring](https://github.com/neuroinformatics-unit/rse-best-practices-playground)
## A first task: [writing a docstring](https://github.com/{{< meta exercises.org-repo >}})

``` {.python}
def calculate_fastest_time(time_list):
Expand All @@ -60,5 +60,5 @@ def calculate_fastest_time(time_list):
```

::: {style="text-align: center; margin-top: 1em"}
[Exercise: write a docstring for a function in `times.py`](https://github.com/neuroinformatics-unit/rse-best-practices-playground)
[Exercise: write a docstring for a function in `times.py`](https://github.com/{{< meta exercises.org-repo >}}/issues/2)
:::
2 changes: 1 addition & 1 deletion slides/testing.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_fastest_time_in_a_specific_case():

## Exercise: convert a sanity check into a test

[Testing exercise](https://github.com/neuroinformatics-unit/rse-good-practice-playground/issues/2)
[Testing exercise](https://github.com/{{< meta exercises.org-repo >}}/issues/2)


## How to think about what to test
Expand Down

0 comments on commit c6d816c

Please sign in to comment.