mirror of
https://github.com/echemdata/galvani.git
synced 2025-12-14 17:15:36 +00:00
@@ -287,6 +287,7 @@ class MPRfile:
|
|||||||
|
|
||||||
n_data_points = np.fromstring(data_module['data'][:4], dtype='<u4')
|
n_data_points = np.fromstring(data_module['data'][:4], dtype='<u4')
|
||||||
n_columns = np.fromstring(data_module['data'][4:5], dtype='u1')
|
n_columns = np.fromstring(data_module['data'][4:5], dtype='u1')
|
||||||
|
n_columns = np.asscalar(n_columns) # Compatibility with recent numpy
|
||||||
|
|
||||||
if data_module['version'] == 0:
|
if data_module['version'] == 0:
|
||||||
column_types = np.fromstring(data_module['data'][5:], dtype='u1',
|
column_types = np.fromstring(data_module['data'][5:], dtype='u1',
|
||||||
|
|||||||
Reference in New Issue
Block a user