Commit 7bce7259 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Fixes bug

Showing with 1 addition and 1 deletion
+1 -1
...@@ -723,7 +723,7 @@ class OhmPi(object): ...@@ -723,7 +723,7 @@ class OhmPi(object):
for i, row in enumerate(x[1:]): for i, row in enumerate(x[1:]):
xs = row.split(',') xs = row.split(',')
f.write(','.join(xs[:icol])) f.write(','.join(xs[:icol]))
fw = np.array([icol:]) fw = np.array(xs[icol:])
fw_pad = fw.reshape((5, -1)) fw_pad = fw.reshape((5, -1))
fw_padded = np.zeros((max_length, 5)) fw_padded = np.zeros((max_length, 5))
fw_padded[:fw_pad.shape[0], :] = fw_pad fw_padded[:fw_pad.shape[0], :] = fw_pad
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment