Commit 870121ae authored by Dion Haefner's avatar Dion Haefner

fixes #32

parent 19963884
......@@ -34,7 +34,7 @@ class CSVConverter(BaseConverter):
if millerSimilarity:
raise ValueError("Miller similarity not usable with CSV generator")
media_array = np.flipud(np.atleast_2d(np.genfromtxt(csv_path, delimiter=",", dtype=int)))
media_array = np.flipud(np.loadtxt(csv_path, delimiter=",", dtype=int, ndmin=2))
# check how many different media we are dealing with
uq_media = np.unique(media_array)
......
Markdown is supported
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