Skip to content

Commit

Permalink
Merge branch 'master' into parallel-uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
j6k4m8 authored Jan 11, 2022
2 parents 942b864 + c2bd90b commit a5823c5
Show file tree
Hide file tree
Showing 19 changed files with 685 additions and 282 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
intern/test_data

# OS Things
.DS_Store
.thumbnails
Expand Down
24 changes: 19 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@

---

## v1.2.0

## v1.3.0 (Unreleased)

- **Convenience API**
- Adds support for channel-level metadata using the array().metadata dict-like API (#87)
- Adds a `array().downsampled` property on the convenience API (#84)
- Fixes voxel_unit getters and setters to be more consistent with convenience API constructor (#83)
- Adds data-source inference to redirect requests to the correct `Remote` (#91)
- Adds a metadata interface `Metadata()` for general metadata read/write access (#92)
- **Improvements**
- Adds a `BossResource.public` boolean flag to mirror if a resource is publicly accessible (#89)
- **Fixes**
- Closes the multiprocessing Pool to avoid too many open files when parallelizing requests (#86)

## v1.2.0 (April 15, 2021)

> Updates to the cloudvolume adapters, and parallelism fixes.
Expand All @@ -13,10 +27,10 @@
- Fixes parallelism defaulting to n=1 (#70)
- This release adds support for parallel data uploads through `BossRemote#create_cutout`.
- **CloudVolume**
- Removes cloudvolume core dependency, and makes it an optional extra-install (#68)
- **Fixes and Improvements**
- Adds support for the new "queued" downsample channel status (#78)
- Adds support for z-index slicing in the convenience array API (#77)
- Removes cloudvolume core dependency, and makes it an optional extra-install (#68)
- **Fixes and Improvements**
- Adds support for the new "queued" downsample channel status (#78)
- Adds support for z-index slicing in the convenience array API (#77)

## v1.1.1 — September 2, 2020

Expand Down
9 changes: 6 additions & 3 deletions examples/dvid/general_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
from intern.resource.dvid.resource import RepositoryResource
import numpy as np
from PIL import Image
import matplotlib.pyplot as plt

########### NOTE ###########
# This test requires an accessible DVID instance

# DVID Data fetch:
dvid = DVIDRemote({"protocol": "http", "host": "localhost:8001",})
dvid = DVIDRemote(
{
"protocol": "http",
"host": "localhost:8001",
}
)

DATA_INSTANCE = "ex_EM"
ALIAS = "Test_alias"
Expand Down Expand Up @@ -115,4 +119,3 @@
# Check for equality
if (got_cutout == data_tile).all():
print("Both tiles equate")

Loading

0 comments on commit a5823c5

Please sign in to comment.