From 29d5551a89e1d62f2698ef82339db1350cf738bf Mon Sep 17 00:00:00 2001 From: matthias-k Date: Mon, 27 May 2024 11:49:11 +0200 Subject: [PATCH] Make subject_count int (#69) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Kümmerer --- pysaliency/datasets/fixations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysaliency/datasets/fixations.py b/pysaliency/datasets/fixations.py index 156d48a..01a02a4 100644 --- a/pysaliency/datasets/fixations.py +++ b/pysaliency/datasets/fixations.py @@ -278,7 +278,7 @@ def y_int(self): @property def subject_count(self): - return self.subject.max()+1 + return int(self.subject.max())+1 def copy(self): cfix = Fixations(self.x.copy(), self.y.copy(), self.t.copy(),