Commit eb3cf44c authored by Jan Kiene's avatar Jan Kiene
Browse files

allow 5-8 MD columns

parent e588a64c
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -308,7 +308,8 @@ class ObjectBasedAudio(Audio):
            if pos.shape[1] < 5:
                raise ValueError("Metadata incomplete. Columns are missing.")
            elif pos.shape[1] > 5:
                if pos.shape[1] == 8:
                if pos.shape[1] <= 8:
                    # TODO: FIXME
                    pos = pos[:, :5]
                else:
                    raise ValueError(