aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/SampleList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/show_trait/SampleList.py b/wqflask/wqflask/show_trait/SampleList.py
index 112298a1..857e4456 100644
--- a/wqflask/wqflask/show_trait/SampleList.py
+++ b/wqflask/wqflask/show_trait/SampleList.py
@@ -78,7 +78,7 @@ class SampleList(object):
sample.extra_attributes['rrid'].append(webqtlConfig.RRID_MOUSE_URL % the_rrid)
elif self.dataset.group.species == "rat":
if len(str(sample.extra_attributes['rrid'])):
- the_rrid = sample.extra_attributes['rrid']
+ the_rrid = sample.extra_attributes['rrid'].split("_")[1]
sample.extra_attributes['rrid'] = [sample.extra_attributes['rrid']]
sample.extra_attributes['rrid'].append(webqtlConfig.RRID_RAT_URL % the_rrid)