From a02dc0f4b97ecab56d167ad25d754e888fd46433 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Laurent?= <francois.laurent@posteo.net>
Date: Sat, 1 Jul 2023 16:01:02 +0200
Subject: [PATCH] generate_dataset extracts more time segments

---
 pyproject.toml                     | 4 ++--
 src/maggotuba/data/make_dataset.py | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index b032612..67c8cd6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "MaggotUBA-adapter"
-version = "0.15.0"
+version = "0.16"
 description = "Interface between MaggotUBA and the Nyx tagging UI"
 authors = ["François Laurent"]
 license = "MIT"
@@ -14,7 +14,7 @@ maggotuba-core = {git = "https://gitlab.pasteur.fr/nyx/MaggotUBA-core", tag = "v
 torch = "^1.11.0"
 numpy = "^1.19.3"
 protobuf = "3.9.2"
-taggingbackends = {git = "https://gitlab.pasteur.fr/nyx/TaggingBackends", tag = "v0.14"}
+taggingbackends = {git = "https://gitlab.pasteur.fr/nyx/TaggingBackends", tag = "v0.14.1"}
 
 [build-system]
 requires = ["poetry-core>=1.0.0"]
diff --git a/src/maggotuba/data/make_dataset.py b/src/maggotuba/data/make_dataset.py
index 8981236..8595288 100644
--- a/src/maggotuba/data/make_dataset.py
+++ b/src/maggotuba/data/make_dataset.py
@@ -61,6 +61,7 @@ def make_dataset(backend, labels_expected=False, trxmat_only=False,
             # generate a larva_dataset_*.hdf5 file in data/interim/{instance}/
             balance = isinstance(balancing_strategy, str) and balancing_strategy.lower() == 'maggotuba'
             out = backend.generate_dataset(backend.raw_data_dir(),
+                                           past_future_extensions=False,
                                            balance=balance, **kwargs)
             print(f"larva_dataset file generated: {out}")
 
-- 
GitLab