Skip to content

Commit a437507

Browse files
author
Corentin
committed
urlib import fix
1 parent fb08b03 commit a437507

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

myoquant/commands/run_sdh.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def sdh_analysis(
9696

9797
# If the model path is not provided, download latest version or check existence.
9898
if model_path is None:
99+
import urllib.request
100+
99101
console.print(
100102
"💡 INFO: No SDH model provided, will download or use latest one.",
101103
style="blue",
@@ -124,7 +126,6 @@ def sdh_analysis(
124126
transient=False,
125127
) as progress:
126128
progress.add_task(description="Importing the libraries...", total=None)
127-
import urllib.request
128129
from ..src.common_func import (
129130
is_gpu_availiable,
130131
load_cellpose,

0 commit comments

Comments
 (0)