From 952be918c8f2278224532fc61d516addbc353444 Mon Sep 17 00:00:00 2001 From: Andi Gerken <andi.gerken@gmail.com> Date: Fri, 19 Mar 2021 16:38:50 +0100 Subject: [PATCH] bugfix for new function --- src/robofish/io/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/robofish/io/io.py b/src/robofish/io/io.py index ab46b5b..240496f 100644 --- a/src/robofish/io/io.py +++ b/src/robofish/io/io.py @@ -127,7 +127,7 @@ def read_poses_from_multiple_files( elif path is not None and path.exists(): logging.info("found file %s" % path) - with robofish.io.File(path=file, strict_validate=strict_validate) as f: + with robofish.io.File(path=path, strict_validate=strict_validate) as f: p = f.entity_poses_rad if ori_rad else f.entity_poses poses_array.append(p) return poses_array \ No newline at end of file -- GitLab