Skip to content

Commit 6ba84c0

Browse files
add previous groups table (#29)
1 parent c0803b7 commit 6ba84c0

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

Model/lib/wdk/OrthoMCL/groupRecordQueries.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,18 @@
242242
</sql>
243243
</sqlQuery>
244244

245+
<sqlQuery name="PreviousGroups">
246+
<column name="group_name" />
247+
<column name="prev_group" />
248+
<sql>
249+
<![CDATA[
250+
select new_group_id as group_name, old_group_id as previous_group
251+
from apidb.groupmapping
252+
where new_group_id <> old_group_id
253+
]]>
254+
</sql>
255+
</sqlQuery>
256+
245257
<sqlQuery name="DomainFrequency">
246258
<column name="group_name" />
247259
<column name="keyword" />

Model/lib/wdk/OrthoMCL/siteSearchRecords.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,11 @@
157157
<columnAttribute name="taxon_abbrev" displayName="Protein Taxon Abbreviation" />
158158
</table>
159159

160+
<table name="PreviousGroups" displayName="Previous Groups"
161+
queryRef="GroupTables.PreviousGroups">
162+
<columnAttribute name="previous_group" displayName="Previous Group" />
163+
</table>
164+
160165
<table name="ProteinID"
161166
displayName="Protein ID"
162167
queryRef="GroupTables.Proteins">

0 commit comments

Comments
 (0)