From 921bd5f1c2363242993942a5bd110dc5377c4bf5 Mon Sep 17 00:00:00 2001 From: TeunHuijben Date: Thu, 9 Jan 2025 12:53:15 -0800 Subject: [PATCH] fixed logging issue in python code --- python/src/intracktive/convert.py | 3 ++- .../examples/notebook2_inTRACKtive_from_napari.ipynb | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/python/src/intracktive/convert.py b/python/src/intracktive/convert.py index 436f0d05..95dad7bb 100644 --- a/python/src/intracktive/convert.py +++ b/python/src/intracktive/convert.py @@ -1,6 +1,7 @@ import logging import tempfile import time +import webbrowser from pathlib import Path from typing import Iterable @@ -333,7 +334,7 @@ def dataframe_to_browser(df: pd.DataFrame, zarr_dir: Path) -> None: data_url=str(dataUrl) ) # full hash that encodes viewerState logging.info("full URL: %s", fullUrl) - # webbrowser.open(fullUrl) + webbrowser.open(fullUrl) @click.command(name="convert") diff --git a/python/src/intracktive/examples/notebook2_inTRACKtive_from_napari.ipynb b/python/src/intracktive/examples/notebook2_inTRACKtive_from_napari.ipynb index 139831c8..bd4bcb85 100644 --- a/python/src/intracktive/examples/notebook2_inTRACKtive_from_napari.ipynb +++ b/python/src/intracktive/examples/notebook2_inTRACKtive_from_napari.ipynb @@ -17,7 +17,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -52,7 +52,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [