@staticmethod
    def from_hdf(node):
        data = json.loads(node[0])
        desc = node[1]
        try:
            cmap = json.loads(node[2])
        except:
            cmap = node[2]
        vmin = json.loads(node[3])
        vmax = json.loads(node[4])
        state = json.loads(node[5])
        attrs = json.loads(node[6])
        try:
            xfmname = json.loads(node[7])
        except __HOLE__:
            xfmname = None

        if not isinstance(vmin, list):
            vmin = [vmin]
        if not isinstance(vmax, list):
            vmax = [vmax]
        if not isinstance(cmap, list):
            cmap = [cmap]

        if len(data) == 1:
            xfm = None if xfmname is None else xfmname[0]
            return _from_hdf_view(node.file, data[0], xfmname=xfm, cmap=cmap[0], description=desc, 
                vmin=vmin[0], vmax=vmax[0], state=state, **attrs)
        else:
            views = [_from_hdf_view(node.file, d, xfmname=x) for d, x in zip(data, xfname)]
            raise NotImplementedError
dataset/ETHPy150Open gallantlab/pycortex/cortex/dataset/views.py/Dataview.from_hdf