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

New UI for creating and editing views #1652

Open
wants to merge 183 commits into
base: v3-experimental-integration
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
4b1dd13
Add basic APIs for specifying frame values, add test
annehaley Sep 4, 2024
68666f8
write frame values to internal metadata and reconstruct on read
annehaley Sep 4, 2024
d02dd55
refactor test and add small test
annehaley Sep 4, 2024
0aa76b4
Reformat, break up complex functions
annehaley Sep 4, 2024
6c00eed
Fix styling
annehaley Sep 4, 2024
f00d36d
Remove no longer used code; adjust item list slightly.
manthey Sep 26, 2024
c2d4cd0
New UI for creating and editing views
jeffbaumes Sep 26, 2024
895c3c7
Merge pull request #1651 from girder/remove-old-code-path
manthey Sep 26, 2024
2a706ed
Linting fixes
jeffbaumes Sep 26, 2024
133de0c
Reduce updates when showing item lists; add a waiting spinner
manthey Sep 27, 2024
47c7c58
Merge pull request #1653 from girder/itemlist-update
manthey Sep 27, 2024
a00e885
Enable configuration of the list of columns that are allowed to be us…
jeffbaumes Sep 27, 2024
d2d9510
Better help on hover for table search
jeffbaumes Sep 27, 2024
3e8dfbe
Update item lists check for large images when toggling recurse
manthey Sep 27, 2024
f051161
Merge pull request #1654 from girder/large-image-check
manthey Sep 27, 2024
d38ebf6
Fix sorting and move away from a strict table to set up for enabling …
jeffbaumes Sep 30, 2024
d2a5bec
Lint fixes
jeffbaumes Sep 30, 2024
d641374
Better help text for flatten
jeffbaumes Sep 30, 2024
c87c65e
Handle a rasterio deprecation
manthey Sep 30, 2024
f542d9d
Handle a variation in a bioformats exception
manthey Sep 30, 2024
79808b6
Merge pull request #1655 from girder/rasterio-stats
manthey Sep 30, 2024
24986ff
Merge pull request #1656 from girder/bioformats-exception
manthey Sep 30, 2024
e383fd8
Increase logging slow histograms
manthey Oct 1, 2024
666ca40
Merge pull request #1658 from girder/histogram-logging
manthey Oct 1, 2024
caabb5d
docs: replace urls for format examples from openmicroscopy.org
annehaley Oct 3, 2024
c0970fc
docs: replace url for GIF example download
annehaley Oct 3, 2024
20ddc55
Merge pull request #1660 from girder/example-links
annehaley Oct 3, 2024
8f3da3d
docs: replace url for PNG example download
annehaley Oct 3, 2024
1d6fd26
Add a retry to gdal http requests during CI.
manthey Oct 3, 2024
57e861e
Merge pull request #1661 from girder/example-links-2
annehaley Oct 3, 2024
e557c6a
Merge branch 'master' into zarr-sink-axis-values
annehaley Oct 3, 2024
96802d0
Merge pull request #1662 from girder/tox-gdal-http-retry
manthey Oct 3, 2024
652eb38
Add a guard around sorting item lists
manthey Oct 3, 2024
38ba6ce
Merge pull request #1663 from girder/add-guard
manthey Oct 3, 2024
940c1eb
Use paginated item lists.
manthey Oct 4, 2024
0f124ea
Merge pull request #1664 from girder/paginated-item-lists
manthey Oct 4, 2024
1e3c8b8
Support named item lists
manthey Oct 4, 2024
d0c49f5
Merge pull request #1665 from girder/named-item-lists
manthey Oct 4, 2024
8f6a4d2
Add options to group within item lists
manthey Oct 7, 2024
9d9232c
When in-line editing yaml and other files, the tab key now uses spaces
manthey Oct 7, 2024
616ccd9
Make default item lists look less different than before #1651
manthey Oct 7, 2024
ba82d9a
Merge pull request #1666 from girder/group-lists
manthey Oct 7, 2024
7ad9a23
Make the filter field in item lists wider
manthey Oct 7, 2024
fcbf6cd
Merge pull request #1667 from girder/codemirror-tabs
manthey Oct 7, 2024
3f64bc7
Merge pull request #1668 from girder/style-adjustment
manthey Oct 7, 2024
ff10348
Add a navigate option to item lists.
manthey Sep 10, 2024
298d127
Merge pull request #1669 from girder/wider-filter-field
manthey Oct 7, 2024
b2ff72e
Merge pull request #1659 from girder/item-list-options
manthey Oct 7, 2024
ddbdad3
refactor: change storage structure of non-uniform values
annehaley Oct 7, 2024
d9d5b47
Protect against KeyErrors on single frame images
annehaley Oct 7, 2024
16d756e
Merge branch 'master' into zarr-sink-axis-values
annehaley Oct 7, 2024
e71b714
Add axis values to slider labels
annehaley Oct 7, 2024
493d709
Reformat client
annehaley Oct 7, 2024
0dd311d
Bump python from 3.12.6-slim to 3.12.7-slim
dependabot[bot] Oct 7, 2024
3da0483
Merge pull request #1670 from girder/dependabot/docker/python-3.12.7-…
manthey Oct 8, 2024
8af9911
Output axis values as part of the algorithm progression example
manthey Oct 8, 2024
38a5585
Fix filter input appearance in item lists in dialogs
manthey Oct 8, 2024
e334643
Merge pull request #1671 from girder/filter-in-item-list-dialog
manthey Oct 8, 2024
7376de2
Fix some issues with possible numpy 2.x overflows
manthey Oct 8, 2024
c85ebf0
Add test for edge cases and fix failures*
annehaley Oct 8, 2024
8873df9
Merge pull request #1672 from girder/numpy-overflow
manthey Oct 9, 2024
ac81967
Relax pinning for wsidicom
manthey Oct 9, 2024
2167c35
Merge pull request #1673 from girder/wsidicom-pins
manthey Oct 9, 2024
413b8a6
Fix pyenv upgrade on CI
manthey Oct 9, 2024
31527f8
Merge pull request #1676 from girder/ci-pyenv
manthey Oct 9, 2024
7475ac0
Changed the parsing of the open parameter in the algorithm progression
manthey Oct 9, 2024
f4b29d6
Test on Python 3.13
manthey Sep 30, 2024
2b74937
Merge pull request #1677 from girder/alg-progression-open
manthey Oct 9, 2024
46693b4
Merge pull request #1675 from girder/python-3.13
manthey Oct 9, 2024
1009eb1
Add edge case to test and fix ValueErrors for mixed type comparisons
annehaley Oct 10, 2024
03b81ee
Only use pip prefer binary on python 3.13 CI.
manthey Oct 10, 2024
731fe43
Merge pull request #1679 from girder/tox-prefer-binary
manthey Oct 10, 2024
a3e0da1
Move logic for "Value[X]" metadata entries to base class
annehaley Oct 10, 2024
4e1ed1a
Isolate changes to base class in a new function (avoid function compl…
annehaley Oct 10, 2024
db43213
Fix type errors
annehaley Oct 10, 2024
bafd7cf
Remove extra whitespace
annehaley Oct 10, 2024
6bdb6fe
Merge branch 'master' into zarr-sink-axis-values
annehaley Oct 10, 2024
6b9c7cb
Pin sphinx until sphinxcontrib-mermaid catches up
manthey Oct 11, 2024
1d4733c
Merge pull request #1680 from girder/pin-sphinx
manthey Oct 11, 2024
93eed8b
Add more commentary about bands and frames.
manthey Oct 11, 2024
4c8dd55
Merge pull request #1681 from girder/improve-docs
manthey Oct 11, 2024
fc01d6c
Ensure frame values are cast to native python types in `getMetadata`
annehaley Oct 11, 2024
e746aad
Merge branch 'master' into zarr-sink-axis-values
annehaley Oct 11, 2024
537ade5
Add comment and fix linting
annehaley Oct 11, 2024
0f083cc
Changed for mypy 1.12
manthey Oct 14, 2024
873aa1e
Unpin sphinx
manthey Oct 14, 2024
7bf1c55
Merge pull request #1683 from girder/mypy-1.12
manthey Oct 14, 2024
21a527f
Merge pull request #1682 from girder/unpin-sphinx
manthey Oct 14, 2024
64b6a9b
grid view and option for setting grid cell width
jeffbaumes Oct 14, 2024
6d2748a
merge in master
jeffbaumes Oct 14, 2024
d56d595
fix padding on search input
jeffbaumes Oct 14, 2024
4e58f07
Don't use a default for yaml config files unless appropriate
manthey Oct 15, 2024
929d239
Some checks for repeated values in the item lists were wrong
manthey Oct 15, 2024
d9b2966
Merge pull request #1685 from girder/default-config
manthey Oct 15, 2024
1546297
Merge pull request #1686 from girder/fix-self-this
manthey Oct 15, 2024
4d17617
fix navigating between views to utilize url, and make sure whole conf…
jeffbaumes Oct 15, 2024
e811224
remove unnecessary render
jeffbaumes Oct 15, 2024
b83d013
Add test for subprocess `addTile` call and fix resize behavior
annehaley Oct 16, 2024
fbc3f93
Add example usage to documentation
annehaley Oct 16, 2024
5a58284
Cache nvm install in CI
manthey Oct 16, 2024
ec8935e
Merge pull request #1688 from girder/ci-retry-nvm
manthey Oct 16, 2024
b3fde84
Update metadata structure for non-uniform values, update frame select…
annehaley Oct 16, 2024
7ab79a4
Merge branch 'master' into zarr-sink-axis-values
annehaley Oct 16, 2024
676c6c2
Add comments and function docstrings
annehaley Oct 16, 2024
8557dff
Fix styling in FrameSelector component
annehaley Oct 16, 2024
c893b6c
Merge pull request #1687 from girder/zarr-sink-subprocess
annehaley Oct 16, 2024
51cc38f
Merge remote-tracking branch 'origin/master' into zarr-sink-axis-values
annehaley Oct 16, 2024
da0f8e1
Update expected values in tests
annehaley Oct 16, 2024
3bc4c25
Retry some url fetches during CI
manthey Oct 16, 2024
45ef1e6
Merge pull request #1690 from girder/retry-ci
manthey Oct 16, 2024
b721b0e
Use a pooch datastore for format examples and use hash urls from DKC
annehaley Oct 16, 2024
91dcdb7
Merge pull request #1691 from girder/format-examples-datastore
annehaley Oct 17, 2024
07abdb5
Add and support app buttons
manthey Oct 11, 2024
e0b10dc
Merge pull request #1692 from girder/app-buttons
manthey Oct 17, 2024
f7d26c3
Update pre-commit versions
manthey Oct 18, 2024
8faa513
Merge pull request #1693 from girder/update-precommit
manthey Oct 18, 2024
824a403
Speed up recursive item lists
manthey Oct 18, 2024
311540d
Merge pull request #1694 from girder/speed-up-recursive-items
manthey Oct 18, 2024
93d59ca
Remove a debug statement
manthey Oct 18, 2024
14c7978
Merge pull request #1695 from girder/remove-debug
manthey Oct 18, 2024
cc8efb2
Better handle images with signed pixel data
manthey Oct 18, 2024
3207673
Merge pull request #1696 from girder/signed-pixel-data
manthey Oct 21, 2024
2e40328
Update docs on girder config options
manthey Oct 21, 2024
f4517c4
Merge pull request #1697 from girder/update-docs
manthey Oct 21, 2024
e41e125
Limit frame value labels to 5 significant digits
annehaley Oct 22, 2024
3876620
Merge branch 'master' into zarr-sink-axis-values
annehaley Oct 22, 2024
a4160ea
Merge pull request #1625 from girder/zarr-sink-axis-values
annehaley Oct 22, 2024
7cd5fb1
Reduce loading geojs when switching views in Girder
manthey Oct 22, 2024
bc68551
Merge pull request #1699 from girder/reduced-geojs-load
manthey Oct 22, 2024
c175314
Remove some outdated and unused lines from the test.Dockerfile
manthey Oct 23, 2024
37172bd
Merge pull request #1700 from girder/remove-old
manthey Oct 24, 2024
e8cc8cc
Mark a subprocess test as singular
manthey Oct 24, 2024
c8fda2d
Merge pull request #1701 from girder/subprocess-singular-test
manthey Oct 24, 2024
cff31ec
Adjust tox to make some tests somewhat faster
manthey Oct 25, 2024
99405bb
Merge pull request #1702 from girder/tox-adjustment
manthey Oct 25, 2024
7de60f5
Don't compute channel window in zarr sinks
manthey Oct 28, 2024
9cc086d
Merge pull request #1705 from girder/zarr-channel-data
manthey Oct 28, 2024
08e6559
Format dates in item lists
manthey Oct 28, 2024
648cdf7
Avoid a version of wsidicom that doesn't work with some tests
manthey Oct 28, 2024
77f114b
Merge pull request #1708 from girder/wsidicom-version
manthey Oct 28, 2024
dcdbbaf
Format dates in item lists
manthey Oct 28, 2024
03b0cc3
Merge remote-tracking branch 'origin/master' into edit-views-ui
jeffbaumes Oct 28, 2024
7f51c42
Merge pull request #1707 from girder/itemlist-dates
manthey Oct 29, 2024
0cfbdcd
Use openslide published binaries
manthey Oct 31, 2024
ed31d08
Merge pull request #1709 from girder/openslide-bin
manthey Oct 31, 2024
638a50e
Fix a typo in the change to openslide dependencies
manthey Oct 31, 2024
7f61bf8
Ensure tile source _dtype is an actual numpy dtype
manthey Oct 31, 2024
06e467f
Merge pull request #1710 from girder/fix-typo
manthey Oct 31, 2024
6b70806
Merge pull request #1711 from girder/guard-dtypes
manthey Oct 31, 2024
eef5b13
fix overflow on table
jeffbaumes Oct 31, 2024
9ae784d
Adjust table overflow again
manthey Nov 1, 2024
b3f0425
Modify a function to keep the type checker happy
manthey Nov 4, 2024
39cf045
Adjust one check from PR #1711.
manthey Nov 1, 2024
0c7e486
Merge pull request #1715 from girder/update-type-check
manthey Nov 4, 2024
25f374b
Merge pull request #1714 from girder/guard-dtypes
manthey Nov 4, 2024
4c4dbd9
Add another guard on dtype based on a field report
manthey Nov 5, 2024
7d4d213
Merge pull request #1716 from girder/dtype-guard
manthey Nov 5, 2024
5172d3c
Handle indica labs variant tiff.
manthey Nov 5, 2024
22eb9cf
Merge pull request #1717 from girder/indica-tiff
manthey Nov 5, 2024
4dd780d
Better detect files with geotransform data that aren't geospatial
manthey Nov 5, 2024
395d03a
Merge pull request #1718 from girder/geospatial-check
manthey Nov 5, 2024
1a7c504
Merge branch 'master' into closer-to-master
manthey Nov 7, 2024
fbb2656
Merge pull request #1719 from girder/closer-to-master
manthey Nov 7, 2024
faa170a
Do not conditionally show image columns to keep table stable
jeffbaumes Nov 7, 2024
890bc44
Merge pull request #1720 from girder/always-show-all-columns
jeffbaumes Nov 7, 2024
c0edded
Reduce the size of the test docker image.
manthey Nov 11, 2024
ef26bcb
Merge pull request #1721 from girder/smaller-test-docker
manthey Nov 11, 2024
3a20fd0
improve styling on grid view
jeffbaumes Nov 12, 2024
d670b6a
take care of special case of deleting current view
jeffbaumes Nov 12, 2024
6b135be
Fix an issue searching for annotation metadata
manthey Nov 12, 2024
fe1eed3
Merge pull request #1722 from girder/view-ui-fixes
jeffbaumes Nov 12, 2024
a71b018
Merge pull request #1723 from girder/search-permissions
manthey Nov 12, 2024
eefa9d8
Merge branch 'master' into merge-annotation-permissions-fix
jeffbaumes Nov 12, 2024
aa926f8
Merge pull request #1724 from girder/merge-annotation-permissions-fix
jeffbaumes Nov 12, 2024
b55d5fe
Better scale float-valued tiles
manthey Nov 13, 2024
0708598
Merge pull request #1725 from girder/float-tile-scaling
manthey Nov 13, 2024
55353a1
Merge branch 'master' into edit-views-ui
manthey Nov 13, 2024
3506c38
Add a distinct class name to controls.
manthey Nov 13, 2024
87584d5
Merge branch 'edit-views-ui' into edit-views-class-name
manthey Nov 13, 2024
8af43f4
Fix a typo
manthey Nov 13, 2024
d5f0c24
Merge pull request #1727 from girder/fix-typo
manthey Nov 13, 2024
b23fbab
Merge branch 'master' into edit-views-class-name
manthey Nov 13, 2024
3e2985b
Merge pull request #1726 from girder/edit-views-class-name
manthey Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 51 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ commands:
tox:
description: "Run tox"
parameters:
env:
toxenv:
type: string
environ:
type: string
default: ""
steps:
- run:
name: Upgrade pip
Expand All @@ -25,9 +28,9 @@ commands:
name: Run tests via tox
# Piping through cat does less buffering of the output but can
# consume the exit code
# command: PYTEST_ADDOPTS=--forked tox -e << parameters.env >> | cat; test ${PIPESTATUS[0]} -eq 0
# command: PYTEST_ADDOPTS="--reruns=3 --numprocesses=0" tox -e << parameters.env >> | cat; test ${PIPESTATUS[0]} -eq 0
command: COVERAGE_CORE=sysmon PYTEST_NUMPROCESSES=3 PYTEST_ADDOPTS="--reruns=3" tox -e << parameters.env >> | cat; test ${PIPESTATUS[0]} -eq 0
# command: PYTEST_ADDOPTS=--forked tox -e << parameters.toxenv >> | cat; test ${PIPESTATUS[0]} -eq 0
# command: PYTEST_ADDOPTS="--reruns=3 --numprocesses=0" tox -e << parameters.toxenv >> | cat; test ${PIPESTATUS[0]} -eq 0
command: COVERAGE_CORE=sysmon PYTEST_NUMPROCESSES=3 PYTEST_ADDOPTS="--reruns=3" << parameters.environ >> tox -e << parameters.toxenv >> | cat; test ${PIPESTATUS[0]} -eq 0
switchpython:
description: "Upgrade python"
parameters:
Expand All @@ -38,7 +41,8 @@ commands:
name: Upgrade pyenv
command: |
sudo rm -rf /opt/circleci/.pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
sudo bash -c 'curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | PYENV_ROOT=/opt/circleci/.pyenv bash'
sudo chmod -R 777 /opt/circleci/.pyenv/
pyenv install --list list
- run:
name: Use pyenv to install python
Expand Down Expand Up @@ -75,7 +79,7 @@ commands:
docker-compose -f ./.circleci/dcm4chee/auth-docker-compose.yml up -d
export DICOMWEB_TEST_URL=http://localhost:8008/dcm4chee-arc/aets/DCM4CHEE/rs
echo "export DICOMWEB_TEST_URL=$DICOMWEB_TEST_URL" >> $BASH_ENV
pip install dicomweb_client 'python-keycloak<4.1'
pip install dicomweb_client tenacity 'python-keycloak<4.1'

# Wait up to 60 seconds for keycloak to be ready
echo 'Waiting for keycloak to start...'
Expand Down Expand Up @@ -114,13 +118,21 @@ commands:
command: |
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- restore_cache:
name: Restore nvm cache
key: v1-nvm-cache-<< parameters.node >>
- run:
name: Switch node versions
command: |
nvm install << parameters.node >>
nvm alias default << parameters.node >>
NODE_DIR=$(dirname $(which node))
echo "export PATH=$NODE_DIR:\$PATH" >> $BASH_ENV
- save_cache:
name: Save nvm cache
key: v1-nvm-cache-<< parameters.node >>
paths:
- /opt/circleci/.nvm/.cache
- run:
name: Check node versions
command: |
Expand Down Expand Up @@ -162,7 +174,7 @@ jobs:
version: "3.8"
node: v14
- tox:
env: test-py38
toxenv: test-py38
- coverage
- store_artifacts:
path: build/test/artifacts
Expand All @@ -176,7 +188,7 @@ jobs:
version: "3.9"
node: v14
- tox:
env: test-py39
toxenv: test-py39
- coverage
- store_artifacts:
path: build/test/artifacts
Expand All @@ -190,7 +202,7 @@ jobs:
version: "3.10"
node: v14
- tox:
env: test-py310
toxenv: test-py310
- coverage
- store_artifacts:
path: build/test/artifacts
Expand All @@ -204,7 +216,7 @@ jobs:
version: "3.11"
node: v14
- tox:
env: test-py311
toxenv: test-py311
- coverage
- store_artifacts:
path: build/test/artifacts
Expand All @@ -218,7 +230,22 @@ jobs:
version: "3.12"
node: v14
- tox:
env: test-py312
toxenv: test-py312
- coverage
- store_artifacts:
path: build/test/artifacts
py313:
machine:
image: ubuntu-2204:current
resource_class: large
steps:
- checkout
- allservices:
version: "3.13"
node: v14
- tox:
toxenv: test-py313
environ: TOX_VERBOSE=4 TOX_PREFER_BINARY=1
- coverage
- store_artifacts:
path: build/test/artifacts
Expand All @@ -233,7 +260,7 @@ jobs:
name: Permissions for link checker
command: find /root -type d -exec chmod 755 {} \+
- tox:
env: docs,lint,lintclient,notebook
toxenv: docs,lint,lintclient,notebook
- store_artifacts:
path: build/docs
- persist_to_workspace:
Expand All @@ -245,7 +272,7 @@ jobs:
steps:
- checkout
- tox:
env: compare-py311
toxenv: compare-py311
- store_artifacts:
path: build/tox/compare.txt
- store_artifacts:
Expand All @@ -256,7 +283,7 @@ jobs:
steps:
- checkout
- tox:
env: type
toxenv: type
wheels:
executor: toxandnode
steps:
Expand Down Expand Up @@ -372,6 +399,13 @@ workflows:
branches:
ignore:
- gh-pages
- py313:
filters:
tags:
only: /^v.*/
branches:
ignore:
- gh-pages
- lint_and_docs:
filters:
tags:
Expand Down Expand Up @@ -415,6 +449,7 @@ workflows:
- py310
- py311
- py312
- py313
- lint_and_docs
- type
- wheels
Expand All @@ -430,6 +465,7 @@ workflows:
- py310
- py311
- py312
- py313
- lint_and_docs
- type
- wheels
Expand All @@ -455,6 +491,7 @@ workflows:
- py310
- py311
- py312
- py313
- lint_and_docs
- type
- compare
Expand Down
6 changes: 3 additions & 3 deletions .circleci/dcm4chee/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ volumes:
ldap_config: {}
services:
ldap:
image: dcm4che/slapd-dcm4chee:2.6.6-33.0
image: dcm4che/slapd-dcm4chee:2.6.5-31.2
logging:
driver: json-file
options:
Expand All @@ -20,7 +20,7 @@ services:
- ldap_data:/var/lib/openldap/openldap-data
- ldap_config:/etc/openldap/slapd.d
db:
image: dcm4che/postgres-dcm4chee:16.4-33
image: dcm4che/postgres-dcm4chee:15.4-31
logging:
driver: json-file
options:
Expand All @@ -34,7 +34,7 @@ services:
volumes:
- db_data:/var/lib/postgresql/data
arc:
image: dcm4che/dcm4chee-arc-psql:5.33.0
image: dcm4che/dcm4chee-arc-psql:5.31.2
logging:
driver: json-file
options:
Expand Down
8 changes: 6 additions & 2 deletions .circleci/dcm4chee/upload_example_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from dicomweb_client import DICOMwebClient
from pydicom import dcmread
from requests import Session
from tenacity import Retrying, stop_after_attempt, wait_exponential


def upload_example_data(server_url, token=None):
Expand All @@ -22,8 +23,11 @@ def upload_example_data(server_url, token=None):

datasets = []
for url in download_urls:
resp = urllib.request.urlopen(url)
data = resp.read()
for attempt in Retrying(stop=stop_after_attempt(5),
wait=wait_exponential(multiplier=1, min=0.5, max=5)):
with attempt:
resp = urllib.request.urlopen(url)
data = resp.read()
dataset = dcmread(BytesIO(data))
datasets.append(dataset)

Expand Down
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand Down Expand Up @@ -58,21 +58,22 @@ repos:
hooks:
- id: circleci-config-validate
- repo: https://github.com/ThisIsManta/stylus-supremacy
rev: v2.17.5
rev: v4.0.0
hooks:
- id: stylus-supremacy
language_version: "22.10.0"
args:
- '--options'
- './girder/girder_large_image/web_client/package.json'
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.18.0
hooks:
- id: pyupgrade
args:
- --py38-plus
- --keep-percent-format
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.1
rev: v0.7.0
hooks:
- id: ruff
args:
Expand Down
71 changes: 70 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,84 @@
# Change Log

## 1.29.12
## 1.30.3

### Improvements

- Format dates in item lists ([#1707](../../pull/1707))
- Guard dtype types ([#1711](../../pull/1711), [#1714](../../pull/1714), [#1716](../../pull/1716))
- Better handle IndicaLabs tiff files ([#1717](../../pull/1717))
- Better detect files with geotransform data that aren't geospatial ([#1718](../../pull/1718))
- Better scale float-valued tiles ([#1725](../../pull/1725))

### Changes

- Openslide now requires the binary wheel on appropriate platforms ([#1709](../../pull/1709), [#1710](../../pull/1710))

### Bug Fixes

- Fix an issue searching for annotation metadata on items that a user doesn't have permissions to view ([#1723](../../pull/1723))
- Fix a typo in a column header ([#1727](../../pull/1727))

## 1.30.2

### Features

- Support setting axis actual values in the zarr sink. Display these in the frame selector ([#1625](../../pull/1625))

### Improvements

- Speed up recursive item lists ([#1694](../../pull/1694))
- Better handle images with signed pixel data ([#1695](../../pull/1695))
- Reduce loading geojs when switching views in Girder ([#1699](../../pull/1699))

### Bug Fixes

- Don't compute channel window in zarr sinks ([#1705](../../pull/1705))

## 1.30.1

### Improvements

- Support generalized application buttons ([#1692](../../pull/1692))

### Bug Fixes

- Don't use a default for yaml config files except .large_image_config.yaml ([#1685](../../pull/1685))
- Some checks for repeated values in the item lists were wrong ([#1686](../../pull/1686))
- Better support creating zarr sinks from multiple processes ([#1687](../../pull/1687))

## 1.30.0

### Features

- Add support for Python 3.13 ([#1675](../../pull/1675))

### Improvements

- Better handle images without enough tile layers ([#1648](../../pull/1648))
- Add users option to config files; have a default config file ([#1649](../../pull/1649))
- Remove no longer used code; adjust item list slightly ([#1651](../../pull/1651), [#1668](../../pull/1668))
- Reduce updates when showing item lists; add a waiting spinner ([#1653](../../pull/1653))
- Update item lists check for large images when toggling recurse ([#1654](../../pull/1654))
- Support named item lists ([#1665](../../pull/1665))
- Add options to group within item lists ([#1666](../../pull/1666))
- Make the filter field in item lists wider ([#1669](../../pull/1669), [#1671](../../pull/1671))
- Add a navigate option to item lists ([#1659](../../pull/1659))

### Changes

- Handle a rasterio deprecation ([#1655](../../pull/1655))
- Handle a variation in a bioformats exception ([#1656](../../pull/1656))
- Increase logging slow histograms ([#1658](../../pull/1658))
- Use paginated item lists ([#1664](../../pull/1664))
- When in-line editing yaml and other files, the tab key now uses spaces ([#1667](../../pull/1667))
- Changed the parsing of the open parameter in the algorithm progression example ([#1677](../../pull/1677))

### Bug Fixes

- Fix styling images with empty tile layers ([#1650](../../pull/1650))
- Add a guard around sorting item lists ([#1663](../../pull/1663))
- Fix some issues with possible numpy 2.x overflows ([#1672](../../pull/1672))

## 1.29.11

Expand Down
3 changes: 0 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
import os
import sys

import sphinx_rtd_theme

docs_dir = os.path.dirname(__file__)
sys.path.insert(0, os.path.abspath(os.path.join(docs_dir, '..', '..')))

Expand Down Expand Up @@ -62,7 +60,6 @@
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

pygments_style = 'sphinx'

Expand Down
Loading