From 99d05d050c8eb84ecaefc5729ed435c3737a5960 Mon Sep 17 00:00:00 2001
From: Tamino Huxohl <thuxohl@techfak.uni-bielefeld.de>
Date: Fri, 6 Jan 2023 16:09:57 +0100
Subject: [PATCH] fix renaming in patch dataset

---
 mu_map/dataset/patches.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mu_map/dataset/patches.py b/mu_map/dataset/patches.py
index ab8d81f..248a0a5 100644
--- a/mu_map/dataset/patches.py
+++ b/mu_map/dataset/patches.py
@@ -45,7 +45,7 @@ class MuMapPatchDataset(MuMapDataset):
         self.patches = []
         self.generate_patches()
 
-    def split_copy(self, split_name: str):
+    def copy(self, split_name: str):
         return MuMapPatchDataset(
             dataset_dir=self.dir,
             patches_per_image=self.patches_per_image,
-- 
GitLab