Skip to content

Commit

Permalink
Add template module and improve add_new_module script
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Feb 15, 2022
1 parent 8517ed1 commit f2fd90d
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 3 deletions.
46 changes: 46 additions & 0 deletions _modules/template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
title: Template
layout: module
tags: ["draft"]
prerequisites:
- "[TODO](../template)"
objectives:
- "TODO"
motivation: |
TODO
concept_map: >
graph TD
T1("TODO1") --> T2("TODO2")
T2 --> T3("TODO3")
figure: /figures/template.png
figure_legend: TODO

activity_preface: |
- Open the image [xy_8bit_binary__nuclei.tif](https://github.com/NEUBIAS/training-resources/raw/master/image_data/xy_8bit_binary__nuclei.tif).
- TODO
activities:
- ["TODO", "PATH", "markdown"]

exercises:
- ["TODO", "PATH"]

assessment: >
### Fill in the blanks
1. TODO ___ .
1. TODO ___ .
> ## Solution
> 1. TODO
> 1. TODO
{: .solution}
learn_next:

external_links:
---

6 changes: 3 additions & 3 deletions add_new_module.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cp -n _modules/binarization.md _modules/$1.md
cp -n _modules/template.md _modules/$1.md
mkdir _includes/$1
mkdir _includes/$1/activities
mkdir _includes/$1/exercises
cp -n _includes/binarization/activities/binarization_imagejgui.md _includes/$1/activities/$1_imagejgui.md
cp -n _includes/binarization/exercises/binarization_imagejgui.md _includes/$1/exercises/$1_imagejgui.md
touch _includes/$1/activities/$1.md
touch _includes/$1/exercises/$1.md

Binary file added figures/template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f2fd90d

Please sign in to comment.