diff options
author | zsloan | 2021-01-30 19:20:35 -0600 |
---|---|---|
committer | zsloan | 2021-01-30 19:20:35 -0600 |
commit | 0e48ed730817937a7dec6967eb6effdfb1382cf1 (patch) | |
tree | dbb4ddcf8bc27921baa013da3fcadd3fc94a5c64 | |
parent | e565f8718ec1eec1c26570c44c7c988d486b7bc9 (diff) | |
download | genenetwork2-0e48ed730817937a7dec6967eb6effdfb1382cf1.tar.gz |
Fixed issue that was causing the Verify button link to not be generated correctly
-rw-r--r-- | wqflask/wqflask/show_trait/show_trait.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py index 9b4a8fa4..24777fda 100644 --- a/wqflask/wqflask/show_trait/show_trait.py +++ b/wqflask/wqflask/show_trait/show_trait.py @@ -98,6 +98,7 @@ class ShowTrait(object): #--------Hongqiang add this part in order to not only blat ProbeSet, but also blat Probe blatsequence = '%3E' + self.this_trait.name + '%0A' + blatsequence + '%0A' + #XZ, 06/03/2009: ProbeSet name is not unique among platforms. We should use ProbeSet Id instead. query2 = """SELECT Probe.Sequence, Probe.Name FROM Probe, ProbeSet, ProbeSetFreeze, ProbeSetXRef @@ -110,7 +111,7 @@ class ShowTrait(object): seqs = g.db.execute(query2).fetchall() for seqt in seqs: if int(seqt[1][-1]) %2 == 1: - blatsequence += '%3EProbe_' + string.strip(seqt[1]) + '%0A' + string.strip(seqt[0]) + '%0A' + blatsequence += '%3EProbe_' + seqt[1].strip() + '%0A' + seqt[0].strip() + '%0A' if self.dataset.group.species == "rat": self.UCSC_BLAT_URL = webqtlConfig.UCSC_BLAT % ('rat', 'rn6', blatsequence) |