Skip to content

Commit

Permalink
Added missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Terézia Slanináková committed Mar 18, 2024
1 parent 7d0ddb6 commit c225917
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion search/tests/test_insert.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
import numpy as np
import h5py
import os
from pathlib import Path
from urllib.request import urlretrieve
import logging


def get_data(data_part, **config):
return np.array(
Expand All @@ -25,7 +29,7 @@ def get_data(data_part, **config):
def download(src, dst):
if not os.path.exists(dst):
os.makedirs(Path(dst).parent, exist_ok=True)
LOG.info("downloading %s -> %s..." % (src, dst))
logging.info("downloading %s -> %s..." % (src, dst))
urlretrieve(src, dst)


Expand Down

0 comments on commit c225917

Please sign in to comment.