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

Update the ome_zarr channel #728

Merged
merged 568 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
568 commits
Select commit Hold shift + click to select a range
8770c39
Merge branch 'master' into volume_slicing_anniek
AnniekStok Mar 19, 2024
43fe671
Merge pull request #630 from NEUBIAS/volume_slicing_anniek
tischi Mar 19, 2024
8f88a67
Init using LLMs to generate code
tischi Mar 25, 2024
33c6676
Creating code using a LLM
tischi Mar 25, 2024
7842780
Improve coding with LLMs
tischi Mar 26, 2024
ce29a4b
Improve coding with LLMs
tischi Mar 26, 2024
946f7a0
Update 2024_scientific_image_inspection_and_presentation.md
tischi Mar 28, 2024
a4f5981
Update TEACHING_TIPS.md
tischi Mar 28, 2024
7a7fe98
Update TEACHING_TIPS.md
tischi Mar 28, 2024
15dfd13
Update TEACHING_TIPS.md
tischi Mar 28, 2024
e6ea8d8
microscopy_data_inspection WIP
tischi Mar 28, 2024
6e7a1b9
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Mar 28, 2024
af52f16
Init Similarity Transforms module
tischi Mar 29, 2024
0aeb267
Init script to automatically create figures, #636
tischi Mar 31, 2024
50eeed0
Add create_modules_pdf.sh #636
tischi Mar 31, 2024
a03a740
Improve script to create a PDF presentation of selected modules, #637
tischi Mar 31, 2024
1f63186
add some galaxy instructions
sunyi000 Apr 10, 2024
c2c845b
add 2024_skimage_napari_beginners.md
tischi Apr 15, 2024
b1ddbd8
Update 2024 python course
tischi Apr 15, 2024
c9554f7
meadian filter
sunyi000 Apr 18, 2024
90c75d2
Merge branch 'master' into galaxy
sunyi000 Apr 18, 2024
b1ad657
fix typo
sunyi000 Apr 18, 2024
f8785ec
Move OpenIJTIFF functionality to own module
k-dominik Apr 21, 2024
d6971fa
Fix codestyle, docstrings, typing
k-dominik Apr 21, 2024
91f75b6
Update 2024_skimage_napari_beginners.md
tischi Apr 22, 2024
d4fa4d5
factor out downloading function
k-dominik Apr 23, 2024
dc12980
add (ugly) typing to open_ij_tiff returns
k-dominik Apr 23, 2024
1a6d6fd
Added minimal conda recipe + pyproject.toml
k-dominik Apr 23, 2024
f74abe7
remove unecessary path manipulation
k-dominik Apr 23, 2024
e2a8274
Merge pull request #647 from NEUBIAS/move-openij-python-to-module
tischi Apr 24, 2024
72c3897
Update 2024_skimage_napari_beginners.md
tischi Apr 24, 2024
292c071
Updated installation instructions
k-dominik Apr 25, 2024
a5bd172
Merge pull request #648 from NEUBIAS/enh-install-instructions-conda
bugraoezdemir Apr 25, 2024
55d464a
Added tests for python scripts in _includes
k-dominik Apr 25, 2024
1930004
ignore jython scripts
k-dominik Apr 25, 2024
e90ab7f
Modify 2024_skimage_napari_beginners.md
tischi Apr 25, 2024
49b93ff
Merge latest main
tischi Apr 25, 2024
55a3851
Fix scripts to allow test running
k-dominik Apr 25, 2024
263e6f9
Add xfail expectations for some tests
k-dominik Apr 25, 2024
eed2057
Merge pull request #649 from NEUBIAS/add-tests-python
bugraoezdemir Apr 26, 2024
b39ea23
Improve pixels_act1_skimage_napari.py
tischi Apr 26, 2024
2008c8d
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Apr 26, 2024
c8c50bf
Merge branch 'improve_digital_image_basics_python'
tischi Apr 26, 2024
1b72d05
Fixes #646
tischi Apr 26, 2024
8ff340c
Improve pixels_act1_skimage_napari.py, remove markdown #651, Fixes #629
tischi Apr 26, 2024
7b4cb33
Implement pixels_3d_image_inspection_skimage_napari.py
tischi Apr 27, 2024
134410e
Improve the python LUT activities
tischi Apr 27, 2024
28a0c61
fix missing square bracket
k-dominik Apr 28, 2024
6320ffe
Merge pull request #655 from NEUBIAS/quickfix-py-pixels-act1
tischi Apr 28, 2024
17f7dc4
Update schedule
tischi Apr 29, 2024
e18a8cd
datatypes: simplifying image loading calls
jhennies Apr 29, 2024
54e922d
various updates
sunyi000 Apr 29, 2024
be39bef
updates and merge with the latest main
sunyi000 Apr 29, 2024
d228e8b
instruction to install galaxy tool
sunyi000 Apr 29, 2024
4ab8fd4
Fixes #660; it turned out that this was actually quite OK already
tischi Apr 29, 2024
45b827c
Simpliy LUTs activity for skimage napari
tischi Apr 29, 2024
c65de85
Improve pixels_act1_skimage_napari.py
tischi Apr 29, 2024
986d4a5
Improve binarization_act*_skimage_napari
tischi Apr 29, 2024
5d80f94
Improve binarization_act2.md
tischi Apr 29, 2024
3652fba
added aspect ratio formula to 'measure_shapes_act1.md'
Apr 29, 2024
182aeb3
Start working on improving datatypes_act1_skimage_napari.py
tischi Apr 30, 2024
3f994bf
fix missing import in binarization_act2_skimage_napari.py
tischi Apr 30, 2024
c739c2b
Add missing imports to binarization_act2_skimage_napari.py
tischi Apr 30, 2024
42d66e5
new MoBIE CLEM module
martinschorb May 3, 2024
705416a
manual registration
martinschorb May 3, 2024
f7b8156
Minor changes to filter_mean_skimage_napari.py
tischi May 6, 2024
2a4a143
simplify filter_variance_skimage_napari.py, but introduce the concept…
tischi May 6, 2024
ef1ce16
Improve median_filter_skimage_napari.py
tischi May 6, 2024
46f907f
Improve local_background_correction_act1_skimage_napari.py
tischi May 6, 2024
f79e5fb
Improve local_background_correction_act2_skimage_napari.py
tischi May 6, 2024
32a81fc
Merge pull request #674 from NEUBIAS/improve_median_filter_skimage_na…
tischi May 6, 2024
bac3fb9
Merge pull request #673 from NEUBIAS/improve_filter_variance_skimage_…
tischi May 6, 2024
8a60ebb
improve measure_intensities_act1_skimage_napari.py
tischi May 6, 2024
a339516
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi May 6, 2024
76ee8c0
edited activity for '2D noisy object segmentation and filtering'
May 6, 2024
e233570
edited activity for '2D noisy object segmentation and filtering'
May 6, 2024
c882dac
edited activity for '2D noisy object segmentation and filtering'
May 6, 2024
3874692
edited activity for '2D noisy object segmentation and filtering'
May 6, 2024
66a8414
edited activity for '2D noisy object segmentation and filtering'
May 6, 2024
b11e0d5
edited caption for main figure of 'Morphological filters'
May 6, 2024
8a75bc3
edited caption for main figure of 'Morphological filters'
May 6, 2024
318cc40
Several small fixes for python code for a couple of modules
tischi May 7, 2024
86f85c7
Improve filter_morphological_act1_skimage_napari.py
tischi May 7, 2024
a9344d8
fixed python code for activity 3 of 'Morphological filters'
May 7, 2024
77619f5
fixed python code for activity 3 of 'Morphological filters'
May 7, 2024
9fd6992
Improve filter_morphological_act1_skimage_napari.py
tischi May 7, 2024
51449dc
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi May 7, 2024
987454d
Add missing import to filter_morphological_act1_skimage_napari.py
tischi May 7, 2024
caa87df
Add filter_morphological/cytoplasmic_ring_skimage_napari.py; see #678
tischi May 13, 2024
388616b
Comment out the napari.run() comment as this likely hangs the testing
tischi May 14, 2024
ee64754
Fixes #670
tischi May 15, 2024
dab0f76
Fixes #681, hopefully cannot build website locally right now...
tischi May 16, 2024
d30da85
Improve string concat, fixes #682
tischi May 16, 2024
6238558
Now add anything...
tischi May 16, 2024
e2e6b31
Fixes #680
tischi May 16, 2024
a448a41
Improve batch processing figure
tischi May 16, 2024
7e713b4
Merge branch 'master' into issue659
tischi May 16, 2024
44949ae
WIP #569
tischi May 16, 2024
1032131
Further work on #659
tischi May 17, 2024
b3e04b8
Implement binary image datatype activity for skimage napari:
tischi May 17, 2024
dcc84df
Add template for batch analysis course
tischi May 17, 2024
cdcedd2
Improve YYYY_MM_HOST_automated_batch_analysis_python.md
tischi May 17, 2024
a960fd3
Clean up inspect_8bit_saturation_skimage_napari.py
tischi May 22, 2024
2c162b4
added skimage-napari-beginner course document for 07/2024
jhennies May 27, 2024
7e33269
fix windows ci (#675)
k-dominik May 27, 2024
516ab72
Remove iinfo for bool array (#687)
k-dominik May 28, 2024
d0ad0a2
Added basic implementation for string and path manipulation in python
k-dominik May 27, 2024
82e50b8
review suggestions
k-dominik May 28, 2024
b3179f1
Add more types of path manipulations to python activity
k-dominik May 28, 2024
a405c3b
updated path manipulation, ijm
k-dominik May 28, 2024
3ab4583
Merge pull request #686 from NEUBIAS/add-py-strings-paths
tischi May 28, 2024
23db46d
Rename 2024_07_idip-heidelberg_skimage_napari_beginners.md to 2024_07…
tischi May 28, 2024
ae379bb
Create 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
8d3f3b4
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
60b5d6e
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
52027bf
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
64fcafe
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
86f5111
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
1b9d9d6
add GBI-LNMA2024 course for Fiji
stemarcotti Jun 5, 2024
a83c4b8
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
db6a1f1
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
378d40d
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 5, 2024
15d0f6c
Update YYYY_MM_HOST_automated_batch_analysis_python.md
tischi Jun 5, 2024
22ed3a0
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
tischi Jun 11, 2024
4f5247e
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
tischi Jun 11, 2024
c292b76
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 11, 2024
c2c11de
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 12, 2024
a17a152
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 12, 2024
ef2d071
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 13, 2024
e584fe1
Update 20240612_Goettingen_RTG_CYTAC.md
manerotoni Jun 13, 2024
9e809e2
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Jun 20, 2024
803653a
init TIFF module
tischi Jun 20, 2024
b589817
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
felixS27 Jun 24, 2024
26a55e6
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 25, 2024
432e794
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 25, 2024
3630c4b
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 25, 2024
dafc99c
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 25, 2024
5691218
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 25, 2024
0fb2fa9
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 25, 2024
f7d7fe9
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jun 25, 2024
4284cf2
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
maulakhan Jun 26, 2024
d357b90
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Jun 26, 2024
d4deb6a
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
jhennies Jun 27, 2024
8d110c8
Improve Coding with LLMs
tischi Jun 27, 2024
cf19210
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Jun 27, 2024
bd40b81
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
tischi Jun 27, 2024
040fd58
Fix Chat-GPT link
jluethi Jun 28, 2024
a785f2a
Merge pull request #695 from jluethi/master
tischi Jun 28, 2024
9c63e4a
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
felixS27 Jun 29, 2024
311b68d
Datatypes WIP
tischi Jun 30, 2024
345476a
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Jun 30, 2024
c6d11b1
Implement 12 bit saturation activity for datatypes module
tischi Jun 30, 2024
e6f514c
Improve projections skimage implementation
tischi Jun 30, 2024
4d89406
Further improve the projections skimage napari implementation
tischi Jun 30, 2024
b842693
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jul 1, 2024
a683693
draft combined tutorial
martinschorb Jul 1, 2024
6f12376
Improve projections skimage implementation
tischi Jul 1, 2024
95adaa2
more background info
martinschorb Jul 1, 2024
89932be
Add image registration module skeleton
tischi Jul 1, 2024
0d67a1a
Improve spatial calibration skimage activity
tischi Jul 1, 2024
3a6c393
Fix bug in new module creation script
tischi Jul 1, 2024
0b78e04
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
tischi Jul 2, 2024
e067803
Merge branch 'refs/heads/master' into mobieCLEM
martinschorb Jul 3, 2024
3c0be6d
Address #669, #668, #667
tischi Jul 6, 2024
e5d400f
Add scaling to shape measurements activity
tischi Jul 6, 2024
682c867
Amend course schedule
tischi Jul 8, 2024
2dec505
Update workflow
tischi Jul 8, 2024
0e6ab53
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
tischi Jul 8, 2024
48ec21e
CLEM registration
martinschorb Jul 8, 2024
4614aac
Update filter_variance_skimage_napari.py
tischi Jul 8, 2024
e317874
Implement python batch processing
tischi Jul 8, 2024
a9b7968
Remove analysis result files
tischi Jul 8, 2024
da11fb1
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Jul 8, 2024
a7151c3
Improve batch analysis module
tischi Jul 8, 2024
59ad132
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jul 9, 2024
bf08d54
Update 2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
SeverinaKlaus Jul 9, 2024
ac2bfdf
course protocol
martinschorb Jul 11, 2024
1ebac1e
Merge branch 'refs/heads/mobieCLEM'
martinschorb Jul 11, 2024
df4a390
svg not yet supported, replace by png
martinschorb Jul 12, 2024
c6c0039
fix image link
martinschorb Jul 12, 2024
8b10864
typos
martinschorb Jul 12, 2024
68bd4f1
Changing variable name for output directory outside of the function
jhennies Jul 18, 2024
98985c4
Saving data with save_ij_tiff for compatibility with open_ij_tiff;
jhennies Jul 18, 2024
6a6785d
Updated batch processing description
jhennies Jul 18, 2024
4de6089
Add 2024_08_EMBL_automated_batch_analysis_python.md
tischi Jul 25, 2024
3304aac
Merge pull request #706 from NEUBIAS/batch_processing
tischi Jul 25, 2024
cef06cd
Create python script which covers how to load images and read their m…
felixS27 Jul 25, 2024
e07cca3
Add python activity to module image file formats
felixS27 Jul 25, 2024
7d3e5e6
Add little excersie block
felixS27 Jul 25, 2024
945109b
Merge pull request #707 from felixS27/ImageFileFormatPython
tischi Jul 25, 2024
6d150e5
merge
tischi Jul 26, 2024
834d809
Merge branch 'master' into tiff
tischi Jul 26, 2024
f97a0db
updated skimage napari conda environment creation instructions to to …
Jul 29, 2024
2d99880
Enable opening of activity implementations in URL
tischi Jul 29, 2024
4a33c81
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Jul 29, 2024
61e57c1
Update 2024_08_EMBL_automated_batch_analysis_python.md
tischi Jul 29, 2024
0a9da09
clean up courses folder a bit
tischi Jul 30, 2024
9eaec71
Update 2024_08_EMBL_automated_batch_analysis_python.md
felixS27 Jul 30, 2024
1e3ce23
Create notebook for teaching for loops in python
felixS27 Jul 30, 2024
1135ab9
Add activity in modules
felixS27 Jul 30, 2024
c595fd8
Zip archive containing the input images
jhennies Jul 30, 2024
8988fb1
MoBIE table for batch processing results
jhennies Jul 30, 2024
871c813
Removed Napari import
jhennies Jul 30, 2024
c2a0cf2
All measurement results to a single MoBIE-readable csv
jhennies Jul 30, 2024
2ccbd8a
Merge pull request #712 from NEUBIAS/forloops
tischi Jul 30, 2024
9c71833
Removed python-dependent code from general activities
jhennies Jul 30, 2024
fc14243
Changed link for ImageDataExplorer to publication
jhennies Jul 30, 2024
a751677
Merge pull request #713 from NEUBIAS/batch_processing
tischi Jul 30, 2024
ea81c7e
Shorten script to only include opening files
felixS27 Jul 30, 2024
4372088
Merge pull request #714 from NEUBIAS/710-remove-ome-tiff-saving-from-…
tischi Jul 31, 2024
2920086
added figure to 'script_functions.md'
Jul 31, 2024
b3b49aa
improved 'script_functions' module
Jul 31, 2024
9fe769e
Fix recently introduced bug that would not allow to open certain acti…
tischi Aug 1, 2024
b0513dd
merge
tischi Aug 1, 2024
5201261
Reviewed 'script_functions' module according to Tischi's comments
Aug 1, 2024
cee98db
Merge branch 'master' into galaxy
sunyi000 Aug 2, 2024
963d1e3
Merge pull request #643 from NEUBIAS/galaxy
tischi Aug 2, 2024
8949156
WIP
tischi Aug 2, 2024
9fd5483
improve course
tischi Aug 5, 2024
a0a4dd8
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Aug 5, 2024
6d3c566
Update 2024_08_EMBL_automated_batch_analysis_python.md
tischi Aug 5, 2024
a7f4f5b
Update install_skimage_napari_conda.md
k-dominik Aug 5, 2024
5312e2c
Improve module for scripting a function
tischi Aug 5, 2024
a7ed397
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Aug 5, 2024
b2e19d9
Update batch_measure_nuclei_shapes.md
jhennies Aug 6, 2024
a1c1f7d
Update batch_measure_nuclei_shapes.md
jhennies Aug 6, 2024
8a22667
Update 2024_08_EMBL_automated_batch_analysis_python.md
tischi Aug 6, 2024
b14796d
Image data formats course WIP
tischi Aug 7, 2024
2f56707
Fix merge
tischi Aug 7, 2024
5d7caec
Implement image data course draft
tischi Aug 7, 2024
01e7abf
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Aug 7, 2024
f0afaec
Update 2024_??_EMBL_image_data_formats.md
tischi Aug 7, 2024
f3ef4ad
Update 2024_??_EMBL_image_data_formats.md
tischi Aug 8, 2024
7643e6c
Update README.md
tischi Aug 8, 2024
4fa27c8
Add acitivity to open CZI image, #720
tischi Sep 8, 2024
603a354
Add acitivity to open TIFF series, #720
tischi Sep 8, 2024
f271d6a
diverse improvements of image data modules
tischi Sep 16, 2024
5b3ac43
"Add activity to open CZI image refactored, #720"
felixS27 Sep 17, 2024
c5a3d73
"Add activity to open CZI image refactored 2, #720"
felixS27 Sep 17, 2024
dfc562f
"Add activity to open LIF image, #720"
felixS27 Sep 17, 2024
39050bb
"Add activity to open LIF image update, #720"
felixS27 Sep 17, 2024
52093fe
"Add activity to open TIF image, #720"
felixS27 Sep 17, 2024
82e2b0e
"Add activity to open TIFF series image, #720"
felixS27 Sep 17, 2024
5fe5dbe
"Add activity to open TIFF series image swap name, #720"
felixS27 Sep 17, 2024
88ab1b2
Split script into beginner and advanced, #716
felixS27 Sep 17, 2024
a0a0081
Add activity #716
felixS27 Sep 17, 2024
7c9afcd
Add ome_zarr_open_java.md
tischi Sep 23, 2024
c641ce4
Merge branch 'master' of https://github.com/NEUBIAS/training-resources
tischi Sep 23, 2024
50d1f1d
Update OME-Zarr MoBIE implementation
tischi Sep 23, 2024
0e2a7c7
Improve TIFF figure
tischi Sep 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .github/workflows/test-python-scripts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: test-python-scripts

on:
push:
branches:
- gh-pages
- master
pull_request: []

jobs:
test-python-scripts:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: install xvfb/deps
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -yy mesa-utils libgl1-mesa-dev xvfb curl
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: false
auto-activate-base: true
activate-environment: ""
channel-priority: strict
miniforge-version: latest
- name: install common conda dependencies
run: conda install -c conda-forge -c euro-bioimaging python=3.10 napari=0.4.17 pytest notebook matplotlib jupytext "scikit-image>=0.20" openijtiff -y
- name: linux test
if: matrix.os == 'ubuntu-latest'
shell: bash -l {0}
run: xvfb-run --server-args="-screen 0 1024x768x24" pytest -v test_python
- name: osx test
if: matrix.os == 'macos-latest'
shell: bash -l {0}
run: pytest -v test_python
- name: windows test
if: matrix.os == 'windows-latest'
shell: cmd /C CALL {0}
run: pytest -v test_python
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
ruby-version: '3.0'

- name: Set up Python
uses: actions/setup-python@v2
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ _site*
.idea
Thumbs.db
~$*
*.ipynb
.ipynb_checkpoints
**/__pycache__/
Untitl*
122 changes: 55 additions & 67 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
---
layout: page
title: Guidelines for Contributing
---
# Contribute

Contributions to this project are very welcome.
Changes should be submitted by merge request from a new branch to `master`.
Merge requests should be reviewed by at least one Maintainer before merging.
There are already [numerous contributors](https://github.com/NEUBIAS/training-resources/graphs/contributors) to this project and we are always welcoming more!

See `README.md` for information on the structure of the repository.
If you are a first time contributor we recommend expressing your interest by [creating an issue](https://github.com/NEUBIAS/training-resources/issues) where you describe how you would like to contribute.
We will then get in touch with you to discuss the details, e.g. by having a zoom with you.

## Step by step guide

## Step by step technical contribution guide

To contribute to this project, please follow those steps:

Expand All @@ -23,21 +20,26 @@ To contribute to this project, please follow those steps:
1. Thank you for your contribution!

### Editor

[Visual Studio Code](https://code.visualstudio.com/) supports code formating and highlighting with the [Liquid](https://marketplace.visualstudio.com/items?itemName=sissel.shopify-liquid) and [Jekyll Syntax Support](https://marketplace.visualstudio.com/items?itemName=ginfuru.ginfuru-vscode-jekyll-syntax) extensions (available via VSCode marketplace).

After the extensions are installed the document type can be changed to "Liquid" in the bottom right corner.
![Set document type to liquid.](image_data/contribute/doc_type_liquid.png)

This should enable syntax highlighting. By pressing `Ctrl + Shift + p` you can search for `Liquid: Enable Formatting` and `Liquid: Format Document`.

## Adding a new module
### Adding a new module

Each module page is built from a template (`_layouts/module.html`),
ensuring a consistent structure and style for the whole collection.
To create a new module, you will need to add a few files
in a few different places in this repository.
in a few different places in this repository.

For convenience there is the [add_new_module.sh](https://github.com/NEUBIAS/training-resources/blob/master/add_new_module.sh) shell script that will automatically create the file and folder skeleton for a new module. Example usage: `./add_new_module.sh distance_transform`


#### Module file

### Module file
Most important is the module file itself.
This module file should be saved with a short, descriptive name (no spaces!)
ending with the `.md` (Markdown) extension.
Expand All @@ -49,7 +51,7 @@ beneath the closing `---` of this header.
Any content written there will appear in the rendered page after
the concept map and/or figure, and before the _Activity_ section.

#### YAML Header Specification
##### YAML Header Specification

All fields not marked as optional are required for the page to build.
You can check that your YAML is valid with [this tool](http://www.yamllint.com/).
Expand All @@ -58,45 +60,42 @@ You can check that your YAML is valid with [this tool](http://www.yamllint.com/)
---
title: Title of the Module
layout: module # don't change this

prerequisites:
- "a list of things that learners should know"
- "in order to understand this module"

objectives:
- "a list of learning objectives"
- "see note 1 below for more info"

motivation: |
A description of *why* you would want to learn this.
Can be written in
(GitHub-flavoured) [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet).
Line breaks will be respected, so you can add lists etc using Markdown syntax.

concept_map: > # see note 2
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car];

figure: /figures/mymodule.png # store the example image for your module in the `figures` folder and provide the absolute path from the root of the site here.
figure_legend: Some description of the figure. (optional)
activity_preface: |
Some general description of the activity for
that learners will do while studying the module.
It will be followed by platform-specific instructions/example code.
(optional)
activities: # platform-specific activity instruction/example code files (see note 3) (optional)
- ["ImageJ GUI", "mymodule/activities/mymodule_imagejgui.md", "markdown"]
- ["ImageJ Macro": "mymodule/activities/mymodule_imagejmacro.ijm", "java"]
- ["Jython", "mymodule/activities/mymodule_jython.py", "python"]
exercises: # platform-specific exercises (in Markdown files) (see note 4) (optional)
"ImageJ GUI": "mymodule/exercises/mymodule_imagejgui.md"
"ImageJ Macro": "mymodule/exercises/mymodule_imagejmacro.md"
"Jython": "mymodule/exercises/mymodule_jython.md"
"MATLAB": "mymodule/exercises/mymodule_matlab.md"

multiactivities: # see note 3
- ["mymodule/mymodule_act1.md", [["ImageJ GUI", "mymodule/mymodule_act1_imagejgui.md"], ["ImageJ Macro", "mymodule/mymodule_act1_imagejmacro.ijm"], ["ImageJ Jython", "mymodule/mymodule_act1_jython.py"], ["skimage napari", "mymodule/mymodule_act1_skimage_napari.py", "python"]]]
- ["mymodule/mymodule_act2.md", [["ImageJ GUI", "mymodule/mymodule_act2_imagejgui.md"], ["ImageJ Macro", "mymodule/mymodule_act2_imagejmacro.ijm"], ["ImageJ Jython", "mymodule/mymodule_act2_jython.py"]
["skimage napari", "mymodule/mymodule_act2_skimage_napari.py"]]]

assessment: |
Language-agnostic questions to assess learner understanding of the key concept
covered in the module.
(optional)
learn_next: # see note 5
learn_next: # see note 4
- "[name_of_one](calibration)"
- "[or_more_modules](object_splitting)"
- "[to link to next](display)"
Expand All @@ -109,53 +108,36 @@ Notes:

1. Learning objectives should be worded as endings to a sentence beginning "After completing this lesson, learners should be able to...". We recommend starting each learning objective with a verb from [Bloom's Taxonomy](https://cft.vanderbilt.edu/guides-sub-pages/blooms-taxonomy/)
2. Concept maps are drawn with [Mermaid.js](https://mermaidjs.github.io/flowchart.html). The indentation of the chart description is important, so be careful!
3. The `activities` field should be populated with three-entry arrays, where the first value is the name of the platform, the second value is the path to the instructions or script for the activity, and the third is a lower-case language identifier to tell GitHub Pages if and how the content of the file should be highlighted. For files containing activity instructions written in Markdown - as opposed to a script written in some programming language - the value in the third position should be `"markdown"`.
4. The `exercises` field should be populated with key-value pairs, where the key is the name of the platform (e.g. "ImageJ GUI", "Python", etc) and the value is the path (relative to `_includes/`) to the file containing the exercises for that platform.
5. The points in "Learn Next" are Markdown links, which should be formed as `[Module Title](modulefilename)`, where the extension has been removed from the filename.
3. The `multiactivities` fields should be nested arrays: `["header.md", [["analysis_platform1_name", "mymodule/analysis_platform1_impl"],["analysis_platform2_name", "mymodule/analysis_platform2_impl"], ... ]]`
4. The points in "Learn Next" are Markdown links, which should be formed as `[Module Title](modulefilename)`, where the extension has been removed from the filename.

### Associated files
**THIS HAS NOW CHANGED 2023.04.25 AP. TODO: Review this section**
Below is a list of all the other files that you should provide
##### Associated files

Below is a list of all the other files that one should provide
to accompany a new module,
as well as the appropriate location for each
(relative to the top level of the repository).
Examples are given for a `/modules/mymodule.md`

- The `figure` image
- The `figure` image:
- an file containing an example image to illustrate the concept being taught in the module
- location: `/figures/mymodule.md`
- The `activities` files
- Markdown files containing instructions and/or example code for an activity that learners should follow to learn how to apply the concept on a particular platform (ImageJ Macro, MATLAB, etc)
- location: `_includes/mymodule/activities/mymodule_platformnospaces.md`
- The `exercises` files
- Markdown files containing exercises to test the learner's understanding of applying the concept on a particular platform
- location: `_includes/mymodule/exercises/mymodule_platformnospaces.md`

## Adding exercises/activity instructions for a new platform

Contributions of instructions and exercises for more platforms are very welcome - please see the "Associated files" subsection above for details of where these contributed files should be added.

## Customising the material for a course

This repository is designed to work as a central reference point for all modules and platforms. However, we expect that instructors will want to prepare more specific material to be used in individual workshops/courses.

To do this, fork or import\* this repository and follow the steps described below.

\* Each GitHub user can only have a single fork of a repository so importing may be the better choice if you expect to make multiple customised sites from this material.

### Setting a defualt platform
- location: `/figures/mymodule.png`
- if the figure is hard to make, please consider also adding a corresponding a PPTX file
- location: `/figures/resources/mymodule.pptx`
- The `activities` files:
- There may be multiple activities for each module
- Each activity needs:
- a markdown header file that explains in general terms what the activity is about
- location: `_includes/mymodule/mymodule_myactivity.md`
- files that implement the activity header in a specific platform, e.g.
- location: `_includes/mymodule/mymodule_myactivity_imagejgui.md`
- location: `_includes/mymodule/mymodule_myactivity_skimage.py`

You can specify a default plaform for your site by adjusting the `default-platform` field in the site `_config.yml`. Beware: your choices will be limited by the availability of platform options for exercises and activities throughout the material! If you want to set a default platform that does not have exercises/activities prepared for every module, you should add the paths to any module files missing exercises/activities for your given platform to the `exclude` list in `_config.yml`. This will prevent any errors being raised due to a missing parameter for those modules.
## Building the website locally

### Adjusting module set and order
It is important to test locally whether the website builds correctly before submitting changes to the repo.

Use the `module_order` field in `_config.yml` to specify which modules should appear in your site and in what order. Other modules not mentioned in this list will still be built (unless you add their paths to the `exclude` field) but will not be included in the page navigation i.e. via dropdown menu, next/previous buttons, etc.

## Questions about the module layout

If you have questions about the module layout, please contact image-analysis-support@embl.de.

## Building locally OSX
### Building locally OSX

To test your changes locally, install `jekyll` on your system. Instructions for Mac OSX are here: [https://jekyllrb.com/docs/installation/macos/](https://jekyllrb.com/docs/installation/macos/).

Expand All @@ -175,7 +157,7 @@ Now you can navigate around the locally-built version of the pages
and check whether you're happy to submit your changes to be merged into `master` :+1:


## Building locally Windows (without make)
### Building locally Windows (without make)

You need to install several tools (`ruby` and then `jekyll`). Please follow the instructions
[https://jekyllrb.com/docs/installation/windows/] follow step 1-4
Expand Down Expand Up @@ -227,7 +209,8 @@ and check whether you're happy to submit your changes to be merged into `master`

Caveat: Some users must run their ``gem install`` commands as administrator. We do not know exactly why, but it may depend on their respective Windows installation.

## See your new module
### See your new module

To see a module edit the file *_config.yml* and add your module (the file name in _modules with .md) to the
list and the appropriate location
```markdown
Expand All @@ -252,3 +235,8 @@ module_order:
```

Note that when jekyll is serving your page, changes on existing files are automatically updated.


## Questions

If you have any questions please ask us in [an issue](https://github.com/NEUBIAS/training-resources/issues).
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

source 'https://rubygems.org'
source 'http://rubygems.org'

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
# Image Analysis Training Resources
# Bioimage Analysis Training Resource

[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/neubias/training-resources)

**[Module overview](https://neubias.github.io/training-resources/all-modules)**

**[Home page](https://neubias.github.io/training-resources)**


This project is intended to collect together various resources
that can be useful when planning/delivering training in image analysis.

## About

- [Google slides presentation](https://docs.google.com/presentation/d/1x5euj3p4hoAdOONQbzFA5xf3rnsNeTjC1rpadCbwbQk/edit?usp=sharing)
- [Recorded webinar](https://www.youtube.com/watch?v=xtm7DAiXtr0)

## Teach

The material in this repository can be flexibly used in many ways.

Some guidance and tips can be found in [`TEACHING_TIPS`](TEACHING_TIPS.md)

## Contribute

Detailed guidance for contributing can be found in [`CONTRIBUTING.md`](CONTRIBUTING.md).

## Repository
Expand Down
Loading
Loading