Skip to content

NotImplementedError: Column ID 174 after column time/s is unknown #109

@Roy027

Description

@Roy027

Here is the error msg

NotImplementedError: Column ID 174 after column time/s is unknown
File c:\Users\XXX\Python39\EnvGeneral\lib\site-packages\galvani\BioLogic.py:413, in MPRfile.__init__(self, file_or_path)
    408     raise ValueError("Unrecognised version for data module: %d" %
    409                      data_module['version'])
    411 assert(not any(remaining_headers))
--> 413 self.dtype, self.flags_dict = VMPdata_dtype_from_colIDs(column_types)
    414 self.data = np.frombuffer(main_data, dtype=self.dtype)
    415 assert(self.data.shape[0] == n_data_points)

File c:\Users\XXX\Python39\EnvGeneral\lib\site-packages\galvani\BioLogic.py:310, in VMPdata_dtype_from_colIDs(colIDs)
    308         type_list.append((unique_field_name, field_type))
    309     else:
--> 310         raise NotImplementedError("Column ID {cid} after column {prev} "
    311                                   "is unknown"
    312                                   .format(cid=colID,
    313                                           prev=type_list[-1][0]))
    314 return np.dtype(type_list), flags_dict

Seems VMPdata_dtype_from_colIDs didnt include all the type. Please help look into this issue thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions