You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`kaplan_meier*.py` - KM curve and likelihood methods
26
36
-`discrete_optimization.py`, `utilities.py` - Optimization utilities (used by KM methods)
@@ -32,23 +42,25 @@ This repository contains two distinct Python packages for biomedical analysis:
32
42
-**`test/kombine/`**: KoMbine tests, datacards, and reference data
33
43
-**Shared files**: `utility_testing_functions.py`, `test_continuous_distributions.py` (copied to both)
34
44
35
-
### Documentation Structure
45
+
### Documentation Structure
36
46
-**`docs/roc_picker/`**: ROC Picker documentation, LaTeX files, and plotting scripts
37
47
-**`docs/kombine/`**: KoMbine documentation, LaTeX files, and plotting scripts
38
48
- Each has independent numbering starting from 01, with separate `compile_*_plots.sh` scripts
39
49
40
50
**KoMbine documentation files**:
41
-
-`01_table_of_contents.md` - Index of all documentation files
51
+
-`01_table_of_contents.md` - Index of all documentation files (synced with Jupytext)
42
52
-`02_kombine.tex` - LaTeX paper with mathematical details (JSS submission)
43
53
-`03_kaplan_meier_example.md` - Jupyter notebook showing Python API usage examples
44
54
-`04_compare_to_lifelines.md` - Jupyter notebook comparing to `lifelines` package
45
-
-`05_command_line_interface.md` - **Pure Markdown** (no Python cells) documenting all CLI options for `kombine` and `kombine_twogroups` commands
55
+
-`05_command_line_interface.md` - **Pure Markdown** (no Python cells) documenting all CLI options for `kombine` and `kombine_twogroups` commands (synced with Jupytext)
46
56
47
57
**Documentation style guidelines**:
48
58
- Files `03_*.md` and `04_*.md` are Jupytext notebooks with Python cells for interactive examples
49
-
- File `05_command_line_interface.md` is pure Markdown without Python cells - it documents the CLI, not the Python API
50
-
- All CLI options must be documented in `05_command_line_interface.md` and verified by `test/kombine/test_cli_documentation.py`
59
+
- Files `01_*.md` and `05_*.md` are pure Markdown with Jupytext headers but no Python cells
60
+
- All documentation markdown files must have Jupytext headers to allow `jupytext --sync` to process them
61
+
- All CLI options must be documented in `05_command_line_interface.md` and verified by `test/kombine/test_documentation.py`
51
62
- When adding new CLI arguments, update `05_command_line_interface.md` and run the documentation test
63
+
- The table of contents (`01_table_of_contents.md`) must list all numbered documentation files
0 commit comments