Commit 799b5b65 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[core][dataset] Use flattened array of data when obtaining metadata

parent 254bb9b3
......@@ -406,7 +406,7 @@ class Dataset():
def get_metadata_values(self, kind, key):
return numpy.unique([data.get_value(kind=kind, name=key)[0] for data
in self.data.metadata])
in self.get_data().metadata])
def __compute_changing_value(self, values, changing_value=1):
"""
......
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