Commit fadedb88 authored by Vladimir Popescu's avatar Vladimir Popescu
Browse files

[views] Drop GenomicMeasure CSV view. Rely on the eponymous view in brainomics instead

parent 21c6959506c1
......@@ -32,17 +32,3 @@ class SnpCSVView(CSVRsetView):
rows.append(row)
writer = self.csvwriter()
writer.writerows(rows)
class GenomicMeasureCSVView(CSVRsetView):
"""CSV view for GenomicMeasure"""
__select__ = CSVRsetView.__select__ & is_instance('GenomicMeasure')
def call(self):
req = self._cw
rows = [('"subject_id"', '"type"', '"format"', '"filepath"')]
for entity in self.cw_rset.entities():
rows.append([entity.subject_id, entity.type,
entity.format, entity.filepath])
writer = self.csvwriter()
writer.writerows(rows)
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