Skip to content

Commit c9f251c

Browse files
committed
first iteration
1 parent 1ef7a76 commit c9f251c

23 files changed

Lines changed: 4916 additions & 1 deletion

404.html

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Page Not Found | So You Want To Do Image Analysis With Python</title>
7+
<meta
8+
name="description"
9+
content="Fallback page for missing SYWTDIAWP course content."
10+
/>
11+
<link rel="preconnect" href="https://fonts.googleapis.com" />
12+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
13+
<link
14+
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Source+Serif+4:opsz,wght@8..60,400;600&display=swap"
15+
rel="stylesheet"
16+
/>
17+
<link
18+
rel="stylesheet"
19+
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/styles/github-dark.min.css"
20+
/>
21+
<link rel="stylesheet" href="assets/css/site.css" />
22+
</head>
23+
<body>
24+
<a class="skip-link" href="#main-content">Skip to content</a>
25+
<header class="site-header">
26+
<div class="wrap">
27+
<div class="header-shell">
28+
<a class="brand" href="index.html">SYWTDIAWP</a>
29+
<nav class="site-nav" aria-label="Primary">
30+
<a class="nav-link" href="index.html">Home</a>
31+
<a class="nav-link" href="index.html#modules">Modules</a>
32+
<a class="nav-link" href="resources.html">Resources</a>
33+
<a class="nav-cta" href="tutorials/install-python.html">Start here</a>
34+
</nav>
35+
</div>
36+
</div>
37+
</header>
38+
39+
<main class="page-main" id="main-content">
40+
<div class="wrap">
41+
<section class="page-hero">
42+
<p class="page-kicker">404</p>
43+
<h1>That page wandered off</h1>
44+
<p class="lead">
45+
The link may be old, the page may have moved, or the website may be
46+
gently reminding you that hyperlinks are a social contract.
47+
</p>
48+
<div class="hero-actions">
49+
<a class="button button-primary" href="index.html">Return home</a>
50+
<a class="button button-secondary" href="resources.html">Open resources</a>
51+
</div>
52+
</section>
53+
</div>
54+
</main>
55+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
56+
<script>hljs.highlightAll();</script>
57+
</body>
58+
</html>

README.md

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,71 @@
11
# SYWTDIAWP
2-
So You Want To Do Image Analysis With Python
2+
3+
So You Want to Do Image Analysis with Python.
4+
5+
This repository hosts a GitHub Pages course for biological researchers learning
6+
to work with Python locally for image analysis and related workflows.
7+
8+
The course is paced as a multi-day self-study resource rather than a short
9+
single-session workshop.
10+
11+
The current course covers:
12+
13+
- installing Python locally
14+
- working with virtual environments using `venv` and conda
15+
- learning core Python programming basics such as variables, data types, and functions
16+
- learning the main scientific Python libraries used in research
17+
- running Jupyter notebooks
18+
- using pandas and matplotlib for tabular data and plotting
19+
- installing napari and launching the `napari-mAIcrobe` plugin
20+
- creating a Python package from the HenriquesLab cookiecutter template
21+
- continuing into segmentation, classification, QC, neural networks, and pretrained models based on the BioimageCourseGIMM notebooks
22+
23+
## Structure
24+
25+
- `index.html` is the landing page and course map
26+
- `resources.html` is the central resource hub for notebooks and quick links
27+
- `glossary.html` contains beginner-friendly definitions for recurring terms
28+
- `troubleshooting.html` collects common setup and workflow recovery steps
29+
- `404.html` is the fallback page for broken GitHub Pages links
30+
- `assets/css/site.css` contains the shared site styles
31+
- `tutorials/install-python.html` covers local Python installation
32+
- `tutorials/virtual-environments.html` covers `venv` and conda
33+
- `tutorials/python-basics.html` covers Python fundamentals and exercises
34+
- `tutorials/scientific-python-libraries.html` introduces the main scientific Python tools
35+
- `tutorials/jupyter-notebooks.html` covers notebook setup, examples, and exercises
36+
- `tutorials/pandas-and-matplotlib.html` covers tabular analysis and plotting
37+
- `tutorials/napari-maicrobe.html` covers napari and `napari-mAIcrobe`
38+
- `tutorials/create-python-package.html` covers package creation with cookiecutter
39+
- `tutorials/advanced-*.html` pages extend the same course path with BioimageCourseGIMM-inspired lessons
40+
- `notebooks/` contains sample notebooks linked from the Jupyter lesson
41+
42+
## Publishing With GitHub Pages
43+
44+
Because the site is plain HTML and CSS, it can be published directly from the
45+
repository without a build step.
46+
47+
1. Push the repository to GitHub.
48+
2. In the repository settings, open `Pages`.
49+
3. Set the source to deploy from the `main` branch and the repository root.
50+
4. Save the settings and wait for GitHub to publish the site.
51+
52+
## Local Editing
53+
54+
You can edit the HTML files directly and refresh them in a browser, or run a
55+
simple local server from the repo root:
56+
57+
```bash
58+
python -m http.server 8000
59+
```
60+
61+
Then open `http://localhost:8000`.
62+
63+
## Content Notes
64+
65+
- The lesson pages are written for researchers who may be new to programming.
66+
- Commands are intentionally copy-paste friendly and organised as a guided path.
67+
- The modules now include slower pacing, checkpoints, and suggested stopping points.
68+
- If the HenriquesLab cookiecutter repository path changes, update the command
69+
in `tutorials/create-python-package.html`.
70+
- The public site navigation now points to HTML pages rather than raw Markdown
71+
files so the GitHub Pages experience stays consistent.

0 commit comments

Comments
 (0)