Skip to content
Snippets Groups Projects
Commit a634650c authored by Andi Gerken's avatar Andi Gerken
Browse files

Improved switch detection

parent 5c588e8c
Branches
Tags
1 merge request!44Added robofish-io-fix-switches
......@@ -262,6 +262,8 @@ def handle_file(file, args):
if all_switches is not None:
iof.attrs["switches"] = all_switches
iof.attrs["switches"] = all_switches
# assert np.all(
# poses[np.logical_not(np.isnan(poses[:, 0])), 0] >= 0
# ), f"Error: x coordinate is not positive, {np.min(poses[:, 0])}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment