From 004b6dc9d57329afe7ff02168b5f28f72cd686cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk> Date: Wed, 29 Jun 2022 18:26:46 +0100 Subject: [PATCH] fix(defaults): import h5py; clean unused imports --- extraction/core/functions/defaults.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extraction/core/functions/defaults.py b/extraction/core/functions/defaults.py index 704536fc..53cbe146 100644 --- a/extraction/core/functions/defaults.py +++ b/extraction/core/functions/defaults.py @@ -1,7 +1,8 @@ # File with defaults for ease of use +from pathlib import PosixPath from typing import Union -from pathlib import PosixPath, Path -import json + +import h5py def exparams_from_meta(meta: Union[dict, PosixPath, str], extras=["ph"]): -- GitLab