diff --git a/src/robofish/io/io.py b/src/robofish/io/io.py index ab46b5ba67dfb4451f62a31a82805a40861bb598..240496f5a84baad373a38571c18544989c3b194a 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