-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdataValidationReport.html
More file actions
71 lines (64 loc) · 2.14 KB
/
dataValidationReport.html
File metadata and controls
71 lines (64 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<p>
Each of the below data grids identifies issues present in the animal colony data that would prevent the pedigree plots from working correctly.<br>
To correct any data consistency issues, use this report as a reference for identifying the data issues, and then correct them on the demographics dataset, which can be access with the below button.<br>
</p>
<button onclick = "linkBrowseData()">
Correct Data
</button>
<p><br></p>
<table>
<tr>
<td>
<div name="webpart" id='parentsDifferentSpeciesReport' />
</td>
<td>
<div name="webpart" id='parentsBothDamAndSireReport' />
</td>
</tr>
<tr>
<td>
<div name="webpart" id='parentsWrongGenderReport' />
</td>
<td>
<div name="webpart" id='parentsYoungerThanOffspringReport' />
</td>
</tr>
</table>
<script>
function linkBrowseData() {
window.location = LABKEY.ActionURL.buildURL(
"ehr",
"updateQuery",
LABKEY.ActionURL.getContainer(),
{
schemaName: "study",
queryName: "demographics",
returnUrl: window.location
}
);
}
new LABKEY.QueryWebPart({
renderTo: 'parentsDifferentSpeciesReport',
title: 'Parents that are wrong species',
schemaName: 'study',
queryName: 'parentsDifferentSpecies'
});
new LABKEY.QueryWebPart({
renderTo: 'parentsBothDamAndSireReport',
title: 'Parents that are listed as both dam and sire',
schemaName: 'study',
queryName: 'parentsBothDamAndSire'
});
new LABKEY.QueryWebPart({
renderTo: 'parentsWrongGenderReport',
title: 'Parents that are listed as both dam and sire',
schemaName: 'study',
queryName: 'parentsWrongGender'
});
new LABKEY.QueryWebPart({
renderTo: 'parentsYoungerThanOffspringReport',
title: 'Parents that are listed as both dam and sire',
schemaName: 'study',
queryName: 'parentsYoungerThanOffspring'
});
</script>