Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1652 commits
Select commit Hold shift + click to select a range
f9c0a6c
More stable OME-TIFF reading
jamesdolezal Apr 16, 2024
48051eb
More flexible pyramid support for OME-TIFF slides (libvips)
jamesdolezal Apr 16, 2024
1295c4c
Add dataset level support for OME-TIFF files
jamesdolezal Apr 18, 2024
4ca5307
Fix ome-tiff support in slideflow studio via project
jamesdolezal Apr 18, 2024
a5f708e
first TODO
matte-esse Apr 23, 2024
d641814
minor
matte-esse Apr 23, 2024
cf18ead
typo
matte-esse Apr 24, 2024
3c1772a
Bug fix: fix "list index out of range" error when MPP in an SVS file …
jamesdolezal Apr 25, 2024
b98974d
Add ability to manually specify microns-per-pixel when extracting til…
jamesdolezal Apr 25, 2024
af13c18
Fix Extraction Report generation on slides missing MPP
jamesdolezal Apr 25, 2024
3611fbe
Updating invert_roi and functions to process tissues_n_issues
Apr 26, 2024
e55503f
Adding get_splits() to slideflow/util/__init__.py
Apr 28, 2024
b073d38
Updating invert_roi and functions to process tissues_n_issues
May 3, 2024
95e9859
Updating Otsu() and clean up _build_coord()
May 7, 2024
469800a
Bug fix: OSError: cannot write mode RGBA as JPEG (during tile extract…
jamesdolezal May 9, 2024
e7e8969
Fix for reading TFRecords with PNG images containing an alpha channel
jamesdolezal May 9, 2024
af82d8d
Standardize TFRecord JPG/PNG generation between cuCIM & Libvips
jamesdolezal May 10, 2024
b8e255f
Bug fix
jamesdolezal May 10, 2024
a10bccd
Fix slide alignment for mismatched MPPs
jamesdolezal May 14, 2024
3336448
Bug fix
jamesdolezal May 14, 2024
c268ed6
Another tile alignment bug fix
jamesdolezal May 14, 2024
bc6736a
Improve OME-TIFF compatibility
jamesdolezal May 17, 2024
7667750
loosen seaborn requirement
johnurbanik May 20, 2024
85e6d8a
change to <0.14
johnurbanik May 20, 2024
888abd8
Update invert_roi() to work correctly
Jun 3, 2024
ec89bdf
Update add_features
Jun 10, 2024
ce62453
Updating add_features
Jun 11, 2024
16ff08c
Change the logic of add_features
Jun 11, 2024
081e315
Fix: MIL AUROC plots are saved to the MIL output directory, rather th…
jamesdolezal Jul 19, 2024
129f88d
Fix: MIL AUROC plots are saved to the MIL output directory, rather th…
jamesdolezal Jul 19, 2024
63e07a5
Fix: MIL AUROC plots are saved to the MIL output directory, rather th…
jamesdolezal Jul 19, 2024
53f2044
Bug fix: can't set `outdir` for `Project.train_mil`
jamesdolezal Jul 19, 2024
079ae9c
Bug fix: can't set `outdir` for `Project.train_mil`
jamesdolezal Jul 19, 2024
98783b0
Bug fix: can't set `outdir` for `Project.train_mil`
jamesdolezal Jul 19, 2024
73b337e
Fix support for whole-slide segmentation from CPU
jamesdolezal Jul 22, 2024
a1cf0a8
Bug fix: missing colon and adding file support to cell segmentation w…
ldonle Jul 22, 2024
6761d15
Merge pull request #389 from jamesdolezal/optimized_segment_cpu
jamesdolezal Jul 23, 2024
d861c11
Docstring updates
jamesdolezal Jul 23, 2024
7d43312
Remove cyclegan_reinhard / related
jamesdolezal Jul 23, 2024
ab902ce
Remove add_point button for ROIs
jamesdolezal Jul 23, 2024
2cef0ae
Docstring update.
jamesdolezal Jul 23, 2024
899cd99
Docstring update
jamesdolezal Jul 23, 2024
3a41c38
Studio: remove keyboard shortcut for adding point ROI (period)
jamesdolezal Jul 23, 2024
8c206e3
Bug fix
jamesdolezal Jul 23, 2024
da3128e
Remove Studio slide alignment
jamesdolezal Jul 23, 2024
64b589c
Merge branch 'dev' into optimized_segment
jamesdolezal Jul 23, 2024
352eea7
Merge pull request #391 from jamesdolezal/optimized_segment
jamesdolezal Jul 23, 2024
f541127
Merge pull request #373 from johnurbanik/update-seaborn
jamesdolezal Jul 23, 2024
fad3c4b
Loosen dependency requirements [#384, #385]
jamesdolezal Jul 23, 2024
bc8126e
Fix documentation demonstration use of preconfigured dataset [#370]
jamesdolezal Jul 23, 2024
49c5c07
Improve compatibility checks for MIL models trained on data at a magn…
jamesdolezal Jul 23, 2024
15c9acf
Switch from torch.no_grad() to torch.inference_mode()
jamesdolezal Jul 24, 2024
bec3df2
Add support for Virchow
jamesdolezal Jul 24, 2024
6700a3b
modified `add_features`
matte-esse Jul 24, 2024
be42c48
print columns on screen
matte-esse Jul 24, 2024
079d14d
bug fix
matte-esse Jul 24, 2024
9cca4ab
minor
matte-esse Jul 24, 2024
df67e8a
minor
matte-esse Jul 24, 2024
c119c81
Merge pull request #383 from RichardVu3/add_features
matte-esse Jul 24, 2024
1adb672
Compatibility update for `timm` >= 1.0 (ctranspath) [#381]
jamesdolezal Jul 24, 2024
a68fb5f
Compatibility update for `timm` >= 1.0 (ctranspath) [#381]
jamesdolezal Jul 24, 2024
bd2e2d7
merged
matte-esse Jul 24, 2024
72983d6
Add compatibility for Histogan
jamesdolezal Jul 25, 2024
0337b37
Update wsi.py
jamesdolezal Jul 25, 2024
99b2ad1
Update transmil.py
jamesdolezal Jul 25, 2024
d6ab2e9
Merge pull request #351 from jamesdolezal/fixes
jamesdolezal Jul 25, 2024
596204a
Virchow bug fix
jamesdolezal Jul 26, 2024
cc0edf9
Virchow bug fix
jamesdolezal Jul 26, 2024
fc62bd2
Use mixed precision by default for PyTorch feature extractors
jamesdolezal Jul 26, 2024
4f94643
Pass mixed precision & channels format config to worker threads when …
jamesdolezal Jul 26, 2024
35d0913
Fix inability to load multi-class CLAM models in Studio
jamesdolezal Jul 28, 2024
323b05f
Fix inability to load multi-class CLAM models in Studio
jamesdolezal Jul 28, 2024
78e4bc0
Handle missing TFRecords when generating feature bags
jamesdolezal Jul 29, 2024
2e69db6
Allow users to customize `num_workers`, `pin_memory`, and `chunk_size…
jamesdolezal Jul 29, 2024
e1dfa32
Handle multi-attention models when generating attention heatmaps duri…
jamesdolezal Jul 31, 2024
a8d4178
Possible fix for get_mil_tile_predictions() with CLAM models [#348]
jamesdolezal Jul 31, 2024
2b2acc8
Bug fix
jamesdolezal Jul 31, 2024
85348d9
Add logging message
jamesdolezal Jul 31, 2024
7b4a28a
Add comments for clarification
jamesdolezal Jul 31, 2024
5bfd19c
Merge pull request #401 from jamesdolezal/clam_att_fix
jamesdolezal Jul 31, 2024
d8770e5
Merge branch 'dev' into histogan_v2
jamesdolezal Jul 31, 2024
a10d5aa
Merge pull request #395 from jamesdolezal/histogan_v2
jamesdolezal Jul 31, 2024
5964fa0
Fix CLAM_MB heatmaps in Studio [#360]
jamesdolezal Jul 31, 2024
52be71c
Update __init__.py
jamesdolezal Aug 1, 2024
3ee2024
Merge branch 'dev' into issue_n_tissue
jamesdolezal Aug 1, 2024
1f5d7d9
Update project.py
jamesdolezal Aug 1, 2024
b585add
Pass ROIs when using `WSI.view()`
jamesdolezal Aug 2, 2024
41a6253
Merge branch 'dev' into issue_n_tissue
jamesdolezal Aug 2, 2024
913b4f8
WSI.view() directly loads the same WSI object.
jamesdolezal Aug 2, 2024
7e1da26
Merge branch 'dev' into issue_n_tissue
jamesdolezal Aug 2, 2024
eaf2776
Minor changes
jamesdolezal Aug 2, 2024
95f654c
Various changes
jamesdolezal Aug 2, 2024
64174ed
Merge pull request #394 from jamesdolezal/issue_n_tissue
jamesdolezal Aug 2, 2024
3034e38
fixed for compatibility with windows
matte-esse Aug 2, 2024
536e66a
Fix MIL evaluation folder
jamesdolezal Aug 3, 2024
7ffc8cc
Merge branch 'dev' of github.com:jamesdolezal/slideflow into dev
jamesdolezal Aug 3, 2024
ac8335e
MIL dataloader can have dtype specified
jamesdolezal Aug 3, 2024
dd6ac96
Specify MIL dataset dtype with build_dataset()
jamesdolezal Aug 3, 2024
799fd8e
Changes `Dataset.pt_files` to `Dataset.get_bags`
jamesdolezal Aug 5, 2024
21de501
Add utility function `Project.inspect_tfrecords()`
jamesdolezal Aug 6, 2024
0dee17f
Bug fix
jamesdolezal Aug 6, 2024
7add80e
Remove forced deletion of thumbnail & slide after generating a heatmap
jamesdolezal Aug 6, 2024
14f9a19
Add padded crop support for cucim backend
jamesdolezal Aug 7, 2024
b47f2bd
Improve verbosity of logging output when generating ROIs with a segme…
jamesdolezal Aug 7, 2024
6de17a7
Minor refactoring in tfrecord2idx
jamesdolezal Aug 7, 2024
a19f232
Limit number of workers when building tfrecord indices to 32.
jamesdolezal Aug 7, 2024
e634bb4
Use try-except blocks in Dataset.generate_rois() to skip slides that …
jamesdolezal Aug 7, 2024
af0d3d4
Add `Dataset.generate_feature_bags()`
jamesdolezal Aug 7, 2024
158373b
Cap workers to 16 when building indices for a dataset
jamesdolezal Aug 7, 2024
1a65405
Reduce incidence of `main thread not in main loop` errors when traini…
jamesdolezal Aug 8, 2024
3b6aa3e
Add support for Grundium slides in cuCIM backend
jamesdolezal Aug 8, 2024
5b4f18a
Add MIL argument `max_val_bag_size`
jamesdolezal Aug 8, 2024
c568209
Bug fix
jamesdolezal Aug 8, 2024
8b42b0e
Fix ctranspath support for timm > 1.0
jamesdolezal Aug 8, 2024
6331f29
Minor refactoring
jamesdolezal Aug 8, 2024
c04e7af
Calculate features directly from a tfrecord file
jamesdolezal Aug 8, 2024
8d3d2df
Fix critical bug in tile size determination with cucim
jamesdolezal Aug 9, 2024
a33abf9
Fix drifting Studio view at some window sizes
jamesdolezal Aug 9, 2024
be7ee74
Fix drifting Studio view at some window sizes
jamesdolezal Aug 9, 2024
2525ad9
Minor docstring update
jamesdolezal Aug 9, 2024
334bafe
Improve compatibility checks for MIL models trained on data at a magn…
jamesdolezal Jul 23, 2024
ffc1700
Fix MIL evaluation folder
jamesdolezal Aug 3, 2024
ce89a2e
Handle multi-attention models when generating attention heatmaps duri…
jamesdolezal Jul 31, 2024
827dfe3
Fix CLAM_MB heatmaps in Studio [#360]
jamesdolezal Jul 31, 2024
aa85c37
Fix `sf.mil.get_mil_tile_predictions()` for CLAM models [#401]
jamesdolezal Aug 9, 2024
3fc50ce
Fix bug in Studio where single-point predictions would raise an error…
jamesdolezal Aug 9, 2024
34d5230
Fix `sf.mil.generate_mil_tile_predictions()` with CLAM_MB
jamesdolezal Aug 9, 2024
23105d8
Update version on Studio splash
jamesdolezal Aug 9, 2024
1e3e8ff
Reduce incidence of `main thread not in main loop` errors when traini…
jamesdolezal Aug 8, 2024
d027afb
Add known extractors registry & error message
jamesdolezal Aug 9, 2024
cf47988
Support for plugins via entry points.
jamesdolezal Aug 10, 2024
4341258
Major refactoring for MIL code to support `slideflow_extras`
jamesdolezal Aug 11, 2024
35d93f1
Bug fixes
jamesdolezal Aug 11, 2024
4044047
Various fixes
jamesdolezal Aug 12, 2024
5edb020
Remove `biscuit` submodule (moved to slideflow_extras)
jamesdolezal Aug 12, 2024
2d82cc1
Improve MIL model registry
jamesdolezal Aug 12, 2024
3f60db3
Improve opencv dependency management
jamesdolezal Aug 12, 2024
9e21680
Remove StyleGAN module
jamesdolezal Aug 12, 2024
43584da
Remove UNI
jamesdolezal Aug 12, 2024
259b22f
Improve imports
jamesdolezal Aug 12, 2024
4a9163f
Fixes
jamesdolezal Aug 12, 2024
0610e07
Bug fixes
jamesdolezal Aug 13, 2024
241eb69
More bug fixes
jamesdolezal Aug 13, 2024
5130bc0
Fix sf.mil.predict_slide() for multi-attention MIL models.
jamesdolezal Aug 13, 2024
f63310d
New `tile_batch_size` option for `sf.mil.get_mil_tile_predictions()`
jamesdolezal Aug 13, 2024
bca540d
Add ability to control attention pooling during MIL prediction/inference
jamesdolezal Aug 13, 2024
9dd18de
Update known extras package names
jamesdolezal Aug 13, 2024
51cfcbe
Bug fix
jamesdolezal Aug 13, 2024
0299fcb
Bug fix for pytorch models when setting augment=False
jamesdolezal Aug 13, 2024
497bf40
Reduce matplotlib multithreading errors
jamesdolezal Aug 13, 2024
0c758dc
Improved progress bar when generating feature bags
jamesdolezal Aug 13, 2024
0e686ab
Report source during tile extraction
jamesdolezal Aug 13, 2024
97625a2
Check tile size compatibility for MIL models.
jamesdolezal Aug 13, 2024
2396576
Add continuous outcome support for native MIL models
jamesdolezal Aug 13, 2024
3c563d1
Improved multimodal MIL support.
jamesdolezal Aug 13, 2024
15f249d
Bug fixes
jamesdolezal Aug 13, 2024
89188ac
Fix naming outcomes for MIL models with continuous outcomes
jamesdolezal Aug 13, 2024
67db53b
Reduce matplotlib multithreading errors with Agg backend
jamesdolezal Aug 13, 2024
fb59b52
Minor fix
jamesdolezal Aug 14, 2024
99a2220
Update LICENSE to Apache-2
jamesdolezal Aug 14, 2024
bb24b5e
Update README.md
jamesdolezal Aug 14, 2024
5059a2a
Update README.md
jamesdolezal Aug 14, 2024
298e1ae
Merge branch 'master' into slideflow3
jamesdolezal Aug 14, 2024
cb1f04e
Merge branch 'slideflow3' of github.com:jamesdolezal/slideflow into s…
jamesdolezal Aug 14, 2024
b33dd79
Fix requirements
jamesdolezal Aug 14, 2024
6076e33
Linting fixes
jamesdolezal Aug 14, 2024
b4d6035
Apply softmax to pytorch categorical predictions in Studio
jamesdolezal Aug 14, 2024
84cf10a
Fix CTransPath for timm > 1.0 (again...)
jamesdolezal Aug 14, 2024
96674e0
Studio MIL fix
jamesdolezal Aug 15, 2024
132be58
Bug fix for ROI point editing
jamesdolezal Aug 15, 2024
fee6782
Improve feature extractor preprocessing standardization
jamesdolezal Aug 15, 2024
bfbf8ac
Move kwargs order
jamesdolezal Aug 15, 2024
691f724
Updated studio icon sizes
jamesdolezal Aug 15, 2024
b98e7a3
Use new tissue segmentation icon
jamesdolezal Aug 15, 2024
6c8616f
Slightly smaller project button
jamesdolezal Aug 15, 2024
ac03c1f
Merge branch 'slideflow3' of github.com:jamesdolezal/slideflow into s…
jamesdolezal Aug 15, 2024
e8611c2
Decrease sidebar icon size
jamesdolezal Aug 15, 2024
1366226
Rename "categorical" models to "classification", and "linear" models …
jamesdolezal Aug 16, 2024
f88280b
Disable mixed precision for MPS devices
jamesdolezal Aug 16, 2024
6501e27
Fixes for MILFeatures
jamesdolezal Aug 16, 2024
f1bb137
Fix bug where ROI holes added in Studio might have re-used existing R…
jamesdolezal Aug 16, 2024
21a1d48
Fix edge case where bag generate may cause `no tfrecords found` error
jamesdolezal Aug 16, 2024
7d92f8b
Fix ROI color rendering in Studio when adding ROI
jamesdolezal Aug 16, 2024
2f959e2
Studio: normalize heatmap colors to output range.
jamesdolezal Aug 16, 2024
e8a05d3
Change whole-slide heatmaps to use numpy masked arrays
jamesdolezal Aug 16, 2024
4a7b4d9
Fix custom MIL architecture training
jamesdolezal Aug 16, 2024
16a1661
Documentation source updates.
jamesdolezal Aug 16, 2024
eaab425
Docs: make videos width 100%
jamesdolezal Aug 17, 2024
7841be0
Documentation updates
jamesdolezal Aug 17, 2024
e0359b6
Update README.md
jamesdolezal Aug 17, 2024
b4a81a5
Slideflow 3.0 Documentation Build Update
jamesdolezal Aug 17, 2024
f0bcecb
Merge branch 'slideflow3' of github.com:jamesdolezal/slideflow into s…
jamesdolezal Aug 17, 2024
0f48832
Merged
jamesdolezal Aug 17, 2024
7e87db6
Merge pull request #404 from slideflow/slideflow3
jamesdolezal Aug 17, 2024
6f716cd
Video width fix
jamesdolezal Aug 17, 2024
2864f7b
Update jamesdolezal/slideflow -> slideflow/slideflow
jamesdolezal Aug 17, 2024
271521c
Fix features table
jamesdolezal Aug 17, 2024
1a6e5d4
Test suite bug fix; update studio splash version
jamesdolezal Aug 17, 2024
d61bb8c
Fix mixed precision / feature extractor issue
jamesdolezal Aug 17, 2024
1061901
Clarify gigapath installation
jamesdolezal Aug 17, 2024
ec74b79
Fix broken link in docs
jamesdolezal Aug 17, 2024
82a6d03
Fix more broken links
jamesdolezal Aug 17, 2024
114303b
Fix even more broken links (docs)
jamesdolezal Aug 17, 2024
ebf90bc
Switch to Plausible
jamesdolezal Aug 17, 2024
e94a0f7
Add Plausible script header in docs theme
jamesdolezal Aug 17, 2024
eb8b59a
Fix missing Studio sidebar button
jamesdolezal Aug 19, 2024
330570c
Delete .gitattributes
jamesdolezal Aug 20, 2024
264eb9f
Improve error handling for slide reading in cucim
jamesdolezal Aug 24, 2024
d302523
Documentation typo fix
jamesdolezal Aug 25, 2024
982ef36
Minor cellseg fixes
jamesdolezal Aug 25, 2024
44abd6c
Pass through `roi_filter_method` to QC methods
jamesdolezal Aug 25, 2024
5933859
Add `WSI.get_roi_label_grid()`
jamesdolezal Aug 25, 2024
df0f401
Handle `Invalid size in the request` error when extracting edge tiles…
jamesdolezal Aug 25, 2024
20238e1
Error handling for get_roi_label_grid()
jamesdolezal Aug 25, 2024
6da69d4
Bug fix
jamesdolezal Aug 25, 2024
ef5f88d
Add WSI features
jamesdolezal Aug 25, 2024
257dfa8
cuCIM backend fix
jamesdolezal Aug 25, 2024
eb14e28
Fix rare `cupy_backends.cuda.api.runtime.CUDARuntimeError`
jamesdolezal Aug 26, 2024
c095353
Bug fix [#412]
jamesdolezal Aug 27, 2024
f21118b
Improve accuracy of ROI filtering for WSIs
jamesdolezal Aug 28, 2024
a940733
Fix Studio crash [#413]
jamesdolezal Sep 6, 2024
76944f8
Add ability to provide preprocessing kwargs to pytorch ImageNet featu…
jamesdolezal Sep 6, 2024
004d9d0
Fix progress bar total tile estimation when generating feature bags
jamesdolezal Sep 6, 2024
2bfbcb1
Update version numbers
jamesdolezal Sep 6, 2024
b1eae99
Improve configuration comparison warning when generating feature bags
jamesdolezal Sep 6, 2024
a8bb7f6
Fix `lifelines` requirement [#414]
jamesdolezal Sep 10, 2024
8e7baab
Fix `TypeError: 'NoneType' object is not subscriptable` when attempti…
jamesdolezal Sep 10, 2024
ef1cccc
Fix error message text when verifying bag size matches MIL model
jamesdolezal Sep 17, 2024
314d35e
Fix bag generation progress bar estimation if there are fewer tfrecor…
jamesdolezal Sep 24, 2024
fec8fc5
Fix slide progress bar during bag generation
jamesdolezal Sep 25, 2024
a2d0edb
Minor fixes
jamesdolezal Oct 11, 2024
6da1dd0
Update to CuCIM micron-per-pixel detection [#420]
jamesdolezal Oct 11, 2024
27e98c5
Update README.md
jamesdolezal Oct 11, 2024
f77fb80
Fix docker hub address [#424]
jamesdolezal Oct 11, 2024
9bc061f
Bug fix in unit tests [#419]
jamesdolezal Oct 11, 2024
1a40a13
Unit test fixes; increase testing verbosity [#419]
jamesdolezal Oct 11, 2024
bfd8fa4
Numpy 2.0 compatibility update
jamesdolezal Oct 11, 2024
37c5b51
Update setup.py; add `pyarrow` to requirements
jamesdolezal Oct 11, 2024
a37ed51
`Dataset.tfrecord_report()` returns `ExtractionReport`
jamesdolezal Oct 11, 2024
deb9a9a
Update torch.Dockerfile
jamesdolezal Oct 11, 2024
a54ad46
Update torch dockerfile to show welcome message
jamesdolezal Oct 11, 2024
9c3f580
Update tensorflow dockerfile
jamesdolezal Oct 13, 2024
c8d56a5
Minor segmentation improvements
jamesdolezal Oct 15, 2024
e77e021
Workaround for inability to write log file
jamesdolezal Oct 15, 2024
d1979ea
Require spacy<3.8 to prevent numpy incompatibility
jamesdolezal Oct 18, 2024
ae4e08b
Update version number
jamesdolezal Oct 18, 2024
c596d2c
Fix dataset splitting for survival models
jamesdolezal Oct 18, 2024
6c37404
Use MPS devices for feature extractors, by default, when available
jamesdolezal Nov 8, 2024
39ab1d2
Merge pull request #409 from slideflow/add_features
matte-esse Nov 13, 2024
7f5a40b
Font licensing: Switch from FreightSans -> IBMPlexSans
jamesdolezal Jul 3, 2025
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/---bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Steps to reproduce the behavior:

- Slideflow Version (e.g., 1.0):
- OS (e.g., Ubuntu):
- How you installed PyTorch (`pip`, source):
- How you installed Slideflow (`pip`, source):
- Python version:
- CUDA/cuDNN version:
- GPU models and configuration:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
python -m
pip install -r requirements.txt
--user
- name: Initialize submodule
run: >-
git submodule init
- name: Update submodule
run: >-
git submodule update --remote --recursive
- name: Build a binary wheel
run: >-
python
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
python -m
pip install -r requirements.txt
--user
- name: Initialize submodule
run: >-
git submodule init
- name: Update submodule
run: >-
git submodule update --remote --recursive
- name: Build a binary wheel
run: >-
python
Expand Down
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
docs/build/*
*.pyc
*.egg-info
*.ipynb_checkpoints
*.pdf
.vscode/*
.neptune/*
docs-source/build/*
docs-source/pytorch_sphinx_theme/yarn.lock.backup
build/*
dist/*
slideflow_test/*
tutorials/*
slideflow_test/*
torch_test/*
warn_report*.txt
slideflow.log
.DS_Store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "slideflow/simclr/simclr"]
path = slideflow/simclr/simclr
url = https://github.com/jamesdolezal/simclr.git
875 changes: 201 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

200 changes: 143 additions & 57 deletions README.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions datasets/breast_er/breast_er.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "TCGA_BRCA",
"annotations": "./breast_labels.csv"
}
1,049 changes: 1,049 additions & 0 deletions datasets/breast_er/breast_labels.csv

Large diffs are not rendered by default.

Binary file added datasets/gdc_manifest.tar.xz
Binary file not shown.
4 changes: 4 additions & 0 deletions datasets/lung_adeno_squam/lung_adeno_squam.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "TCGA_LUNG",
"annotations": "./lung_labels.csv"
}
942 changes: 942 additions & 0 deletions datasets/lung_adeno_squam/lung_labels.csv

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions datasets/lung_adeno_squam/lung_labels_mini.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
patient,subtype,site,slide
TCGA-83-5908,adenocarcinoma,Site-28,TCGA-83-5908-01Z-00-DX1.381c8f82-61a0-4e9d-982d-1ad0af7bead9
TCGA-62-A46V,adenocarcinoma,Site-124,TCGA-62-A46V-01Z-00-DX1.631E54D0-9E57-4932-B4EF-81820E56A95B
TCGA-44-2655,adenocarcinoma,Site-29,TCGA-44-2655-01Z-00-DX1.ee255271-780c-461c-ab23-5cd3504b5e4a
TCGA-05-4418,adenocarcinoma,Site-61,TCGA-05-4418-01Z-00-DX1.f3863ea5-564f-482f-9878-cc104cf69401
TCGA-49-4487,adenocarcinoma,Site-69,TCGA-49-4487-01Z-00-DX1.3a3a0720-463c-430e-849b-e2f8991bdfa5
TCGA-38-4631,adenocarcinoma,Site-130,TCGA-38-4631-01Z-00-DX1.5e0c873a-9c4c-4e0b-bf2e-e3cd8b760761
TCGA-55-1594,adenocarcinoma,Site-67,TCGA-55-1594-01Z-00-DX1.bd90c500-7c0b-4c45-a3f7-2d9177384b1d
TCGA-75-6207,adenocarcinoma,Site-93,TCGA-75-6207-01Z-00-DX1.837B7B0F-424C-423B-9045-A905E7C1C54C
TCGA-MP-A4TD,adenocarcinoma,Site-180,TCGA-MP-A4TD-01Z-00-DX1.937DEBC9-F5D5-4682-AA9A-13D8226EE06C
TCGA-78-7537,adenocarcinoma,Site-96,TCGA-78-7537-01Z-00-DX1.e5597e41-ebba-4d6f-8a1f-15cd81d8f026
TCGA-21-A5DI,squamous,Site-40,TCGA-21-A5DI-01Z-00-DX1.E9123261-ADE7-468C-9E9A-334E131FFF97
TCGA-43-5670,squamous,Site-29,TCGA-43-5670-01Z-00-DX1.1b5d262e-1f39-4f6f-883c-52101b57791f
TCGA-18-3415,squamous,Site-97,TCGA-18-3415-01Z-00-DX1.8C62F2CD-4A2F-4D1E-A662-D7D5AFE557AB
TCGA-43-2576,squamous,Site-29,TCGA-43-2576-01Z-00-DX1.779df209-95e1-4303-9c32-4083e8088d8e
TCGA-33-4533,squamous,Site-69,TCGA-33-4533-01Z-00-DX1.ee36717d-0571-40b3-8ab5-5465d2cca920
TCGA-NC-A5HT,squamous,Site-177,TCGA-NC-A5HT-01Z-00-DX1.9295B0E3-37FE-4914-AFB3-78B56C893B6D
TCGA-56-8628,squamous,Site-67,TCGA-56-8628-01Z-00-DX1.AAC57164-E0F9-4DF0-87EA-5C50FB201895
TCGA-63-A5MM,squamous,Site-93,TCGA-63-A5MM-01Z-00-DX1.F385687A-3741-4E73-87F1-D9B00B1B6186
TCGA-21-1081,squamous,Site-40,TCGA-21-1081-01Z-00-DX1.fce8927a-2c5f-4a64-8414-da66424b3859
TCGA-60-2707,squamous,Site-103,TCGA-60-2707-01Z-00-DX1.4aafd76b-eb0e-4ab9-a740-682c169a3c3d
4 changes: 4 additions & 0 deletions datasets/thyroid_brs/thyroid_brs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "TCGA_THCA",
"annotations": "./thyroid_labels.csv"
}
370 changes: 370 additions & 0 deletions datasets/thyroid_brs/thyroid_labels.csv

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions docs-source/pytorch_sphinx_theme/.circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:7.10

working_directory: ~/repo

steps:
- add_ssh_keys:
fingerprints:
- "e0:f1:7b:8c:b1:4c:49:6f:b9:bd:af:84:6d:dd:93:cb"
- checkout

- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-

- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: cp .circleci/mock.env.json .env.json
- run: grunt build
- run: git config credential.helper 'cache --timeout=120'
- run: git config user.email "ericnakagawa@gmail.com"
- run: git config user.name "CircleCI Bot"
- run: git add .
- run: git commit -m "Deploying theme build via CircleCI"
- run: git push -q git@github.com:pytorch/pytorch_sphinx_theme.git master

workflows:
version: 2
commit-and-build:
jobs:
- build
4 changes: 4 additions & 0 deletions docs-source/pytorch_sphinx_theme/.circleci/mock.env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"TUTORIALS_DIR": "../tutorials",
"DOCS_DIR": "../pytorch/docs/source"
}
15 changes: 15 additions & 0 deletions docs-source/pytorch_sphinx_theme/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Document global line endings settings
# https://help.github.com/articles/dealing-with-line-endings/
* text eol=lf


# Denote all files that are truly binary and should not be modified.
*.ai binary
*.jpg binary
*.otf binary
*.png binary
*.eot binary
*.ttf binary
*.whl binary
*.woff binary
*.woff2 binary
12 changes: 12 additions & 0 deletions docs-source/pytorch_sphinx_theme/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*build/
*.DS_Store
*.map
node_modules
npm-debug.log
yarn-error.log
package-lock.json
__pycache__
.env.json
dist/
*.egg-info/
scss/vendor/*
1 change: 1 addition & 0 deletions docs-source/pytorch_sphinx_theme/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.4.0
4 changes: 2 additions & 2 deletions docs-source/pytorch_sphinx_theme/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ module.exports = function(grunt) {
{
expand: true,
flatten: true,
src: ['fonts/FreightSans/*'],
dest: 'pytorch_sphinx_theme/static/fonts/FreightSans',
src: ['fonts/IBMPlexSans/*'],
dest: 'pytorch_sphinx_theme/static/fonts/IBMPlexSans',
filter: 'isFile'
},

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs-source/pytorch_sphinx_theme/images/slideflow-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!-- Preload the theme fonts -->

<link rel="preload" href="{{ pathto('_static/fonts/FreightSans/freight-sans-book.woff2', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/FreightSans/freight-sans-medium.woff2', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/IBMPlexSans/IBMPlexSans-Regular.ttf', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/IBMPlexSans/IBMPlexSans-Medium.ttf', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/IBMPlexMono/IBMPlexMono-Medium.woff2', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/FreightSans/freight-sans-bold.woff2', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/FreightSans/freight-sans-medium-italic.woff2', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/IBMPlexSans/IBMPlexSans-Medium.ttf', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/IBMPlexSans/IBMPlexSans-MediumItalic.ttf', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ pathto('_static/fonts/IBMPlexMono/IBMPlexMono-SemiBold.woff2', 1) }}" as="font" type="font/woff2" crossorigin="anonymous">

<!-- Preload the katex fonts -->
Expand Down
23 changes: 4 additions & 19 deletions docs-source/pytorch_sphinx_theme/pytorch_sphinx_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,7 @@
{%- block extrahead %}
<!-- Google Analytics -->
{% if theme_analytics_id %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ theme_analytics_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{ theme_analytics_id }}');
</script>
<script defer data-domain="slideflow.dev" src="https://plausible.io/js/script.js"></script>
{% endif %}
<!-- End Google Analytics -->
{% endblock %}
Expand All @@ -95,15 +88,7 @@

{% include "fonts.html" %}
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu" crossorigin="anonymous">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-43E5QNVXH2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-43E5QNVXH2');
</script>
<script defer data-domain="slideflow.dev" src="https://plausible.io/js/script.js"></script>
</head>

<div class="container-fluid header-holder tutorials-header" id="header-holder">
Expand Down Expand Up @@ -286,7 +271,7 @@
{% endif %}

{% endif %}

<script type="text/javascript" src="{{ pathto('_static/js/vendor/jquery-3.6.3.min.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/js/vendor/popper.min.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/js/vendor/bootstrap.min.js', 1) }}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
Expand Down Expand Up @@ -338,7 +323,7 @@
<!-- End Mobile Menu -->

<script script type="text/javascript">
var collapsedSections = ['Source', 'Tutorials'];
var collapsedSections = [];
</script>

<script type="text/javascript" src="{{ pathto('_static/js/vendor/anchor.min.js', 1) }}"></script>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ window.sideMenus = {
"#pytorch-right-menu #pytorch-side-scroll-right \
> ul > li > a.reference.internal"
);

for (var i = 0; i < titleLinks.length; i++) {
var link = titleLinks[i];

Expand All @@ -534,7 +533,6 @@ window.sideMenus = {
var menuLinks = document.querySelectorAll(
"#pytorch-right-menu ul li ul li a.reference.internal"
);

for (var i = 0; i < menuLinks.length; i++) {
if (
menuLinks[i].nextElementSibling &&
Expand Down Expand Up @@ -633,16 +631,7 @@ window.sideMenus = {
},

handleLeftMenu: function () {
var windowHeight = utilities.windowHeight();
var topOfFooterRelativeToWindow = document.getElementById("docs-tutorials-resources").getBoundingClientRect().top;

if (topOfFooterRelativeToWindow >= windowHeight) {
document.getElementById("pytorch-left-menu").style.height = "100%";
} else {
var howManyPixelsOfTheFooterAreInTheWindow = windowHeight - topOfFooterRelativeToWindow;
var leftMenuDifference = howManyPixelsOfTheFooterAreInTheWindow;
document.getElementById("pytorch-left-menu").style.height = (windowHeight - leftMenuDifference) + "px";
}
document.getElementById("pytorch-left-menu").style.height = "100%";
},

handleRightMenu: function() {
Expand Down

Large diffs are not rendered by default.

Loading