Skip to content

Update xtensor-zarr=0.0.7 #43

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

Merged
merged 3 commits into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 2 additions & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ dependencies:
- maven
- make
- cmake
- xtensor-zarr=0.0.4
- xtensor-zarr >=0.0.8|=0.0.7=*_1
- openimageio
- zlib
- blosc
- nodejs
- z5py >= 2.0.10
- python == 3.7.9
- scikit-image
- pytest
- zarr >= 2.8.0
- zarr >= 2.8.3
- pip
- pandas
- tabulate
Expand Down
81 changes: 1 addition & 80 deletions generate_data/js/package-lock.json

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

5 changes: 3 additions & 2 deletions generate_data/js/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import fs from "fs";
import p from "path";
import { PNG } from "pngjs";
import pkg from "pngjs";
const { PNG } = pkg;

import { openGroup, NestedArray, slice } from "zarr";
import FSStore from "./fsstore.js";
Expand Down Expand Up @@ -37,7 +38,7 @@ async function generateZarrFormat(codecIds = ["gzip", "blosc", "zlib", null]) {
const path = p.join("..", "..", "data", "js.zr");
const img = imread(p.join("..", "..", "data", "reference_image.png"));

fs.rmSync(path, { recursive: true, force: true });
fs.rmdirSync(path, { recursive: true, force: true });
const grp = await open(path);
for (const id of codecIds) {
const config = id ? STR_TO_COMPRESSOR[id] : null;
Expand Down
1 change: 1 addition & 0 deletions generate_data/xtensor_zarr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ endif()
target_link_libraries(run_xtensor_zarr
PUBLIC
xtensor-zarr
xtensor-zarr-gdal
${CMAKE_DL_LIBS}
${CMAKE_THREAD_LIBS_INIT}
)
Expand Down
2 changes: 2 additions & 0 deletions generate_data/xtensor_zarr/generate_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ cd "${0%/*}"
rm -rf build
mkdir build
cd build
export LDFLAGS="${LDFLAGS} -Wl,-rpath,$CONDA_PREFIX/lib -Wl,-rpath,$PWD"
export LINKFLAGS="${LDFLAGS}"
cmake .. -DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_INSTALL_LIBDIR=lib
make run