Skip to content

Commit bf119de

Browse files
authored
Update packaging metadata for 0.2.0 (#288)
* add new version to the docs switcher * remove redundant value * add DOI badge using the 'all versions' DOI that always resolves to the latest version * update commit hash * update release date * fix commit hash * non-zero return code with no args pallets/click#1489 * write to stdout pallets/click#2874 * remove unused import
1 parent 0348acd commit bf119de

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

CITATION.cff

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ authors:
1515
orcid: 'https://orcid.org/0000-0001-7482-1299'
1616
- given-names: Ivan
1717
family-names: Ivanov
18-
affiliation: Chan Zuckerberg Biohub San Francisco
1918
orcid: 'https://orcid.org/0000-0001-6389-0213'
2019
affiliation: Chan Zuckerberg Biohub San Francisco
2120
- given-names: Jordão
@@ -56,6 +55,6 @@ keywords:
5655
- bioimaging
5756
- ndimensional-arrays
5857
license: BSD-3-Clause
59-
commit: a4d43a2a8cd8d4abce00e475f9f1699d451eba9f
60-
version: 0.1.0
61-
date-released: '2024-02-14'
58+
commit: dc704aa5506a84fdb2b538834ac181b691e70766
59+
version: 0.2.0
60+
date-released: '2025-04-22'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![PyPI - Python version](https://img.shields.io/pypi/pyversions/iohub)](https://pypi.org/project/iohub)
44
[![PyPI - iohub version](https://img.shields.io/pypi/v/iohub.svg)](https://pypi.org/project/iohub)
5+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15022067.svg)](https://doi.org/10.5281/zenodo.15022067)
56
[![Docs deployment](https://github.com/czbiohub-sf/iohub/actions/workflows/docs.yml/badge.svg)](https://czbiohub-sf.github.io/iohub)
67

78
N-dimensional bioimaging produces data and metadata in various formats,

docs/source/_static/switcher.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@
66
{
77
"version": "v0.1.0",
88
"url": "/iohub/v0.1.0/index.html"
9+
},
10+
{
11+
"version": "v0.2.0",
12+
"url": "/iohub/v0.2.0/index.html"
913
}
10-
]
14+
]

iohub/reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22

33
import logging
4-
import sys
54
import warnings
65
from pathlib import Path
76
from typing import TYPE_CHECKING, Literal
@@ -206,7 +205,7 @@ def print_info(path: StrOrBytesPath, verbose=False):
206205
else:
207206
reader = read_images(path, data_type=fmt)
208207
except (ValueError, RuntimeError):
209-
print("Error: No compatible dataset is found.", file=sys.stderr)
208+
print("Error: No compatible dataset is found.")
210209
return
211210
fmt_msg = f"Format:\t\t\t {fmt}"
212211
if extra_info:

tests/cli/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def pytest_generate_tests(metafunc):
3434
def test_cli_entry():
3535
runner = CliRunner()
3636
result = runner.invoke(cli)
37-
assert result.exit_code == 0
37+
assert result.exit_code == 2
3838
assert "Usage" in result.output
3939

4040

0 commit comments

Comments
 (0)