From 8eeb2bf860431ecd145e267b233500fa497418a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk>
Date: Sat, 7 Jan 2023 00:38:33 +0000
Subject: [PATCH] fix(dataset): pass kwargs as-is for ome dataset

---
 src/aliby/io/dataset.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/aliby/io/dataset.py b/src/aliby/io/dataset.py
index a07dce0e..eaec2688 100644
--- a/src/aliby/io/dataset.py
+++ b/src/aliby/io/dataset.py
@@ -33,7 +33,7 @@ def dispatch_dataset(expt_id: int or str, **kwargs):
     Callable Dataset instance, either network-dependent or local.
     """
     if isinstance(expt_id, int):  # Is an experiment online
-        return Dataset(x, **kwargs["general"].get("server_info"))
+        return Dataset(expt_id, **kwargs)
     elif isinstance(expt_id, str):  # Files or Dir
         expt_path = Path(expt_id)
         if expt_path.is_dir():
-- 
GitLab