Commit 4559b3a6 authored by Vincent Michel's avatar Vincent Michel
Browse files

[entities] Correctly display the GenomicRegion start/end positions in dc_title, closes #3489163

parent ea7b301b5355
......@@ -52,3 +52,10 @@ class GenomicMeasure(AnyEntity):
return self.chip_serialnum
else:
return 'N/A'
class GenomicRegion(AnyEntity):
__regid__ = 'GenomicRegion'
def dc_title(self):
return '%s %s-%s ' % (self._cw._('GenomicRegion'), self.start, self.stop)
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