From 2726045425249a8648b9cf718653d23ab5bcb08b Mon Sep 17 00:00:00 2001 From: Vince Reuter Date: Tue, 3 Dec 2024 14:01:10 +0100 Subject: [PATCH] always display the trace ID; close #18, close #19 --- looptrace_regionals_vis/__init__.py | 2 +- looptrace_regionals_vis/reader.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/looptrace_regionals_vis/__init__.py b/looptrace_regionals_vis/__init__.py index bd7b7b5..d44ab85 100644 --- a/looptrace_regionals_vis/__init__.py +++ b/looptrace_regionals_vis/__init__.py @@ -10,7 +10,7 @@ from numpydoc_decorator import doc # type: ignore[import-untyped] -__version__ = "0.4.0" +__version__ = "0.4.1" _PACKAGE_NAME = package = Path(__file__).parent.name diff --git a/looptrace_regionals_vis/reader.py b/looptrace_regionals_vis/reader.py index 21fec1e..8a5d9de 100644 --- a/looptrace_regionals_vis/reader.py +++ b/looptrace_regionals_vis/reader.py @@ -190,7 +190,7 @@ def build_layers(folder) -> list[FullDataLayer]: # type: ignore[no-untyped-def] features.update( { "traceId": [ - r.traceId.get if r.trace_partners else "" # type: ignore[attr-defined] + r.traceId.get # type: ignore[attr-defined] for r in rois for _ in r.bounding_box.iter_z_slices_nonnegative() ]