def parse_bossURI(self, uri): # type: (str) -> Resource
        """
        Parse a bossDB URI and handle malform errors.

        Arguments:
            uri (str): URI of the form bossdb://<collection>/<experiment>/<channel>

        Returns:
            Resource

        """
        t = uri.split("://")[1].split("/")
        if len(t) is 3:
            return self.get_channel(t[2], t[0], t[1])
        raise ValueError("Cannot parse URI " + uri + ".")