Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Ext4.define('GenotypeAssays.window.PublishResultsWindow', {
});
}, this);

if (results.length == 1){
if (results.length === 1){
field.setValue(results[0].id);
}
field.setDisabled(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<dataset name="birth" id="1007" category="Colony Management" demographicData="true" type="Standard">
<tags/>
</dataset>
<dataset name="cases" id="5012" category="Clinical" type="Standard">
<tags/>
</dataset>
<dataset name="encounters" id="1067" showByDefault="false" category="Clinical" type="Standard">
<tags/>
</dataset>
Expand Down
57 changes: 57 additions & 0 deletions IDR/resources/referenceStudy/study/datasets/datasets_metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1035,4 +1035,61 @@
</columns>
<tableTitle>Kinship</tableTitle>
</table>
<table tableName="cases" tableDbType="TABLE">
<columns>
<column columnName="Id">
<datatype>varchar</datatype>
<propertyURI>http://cpas.labkey.com/Study#ParticipantId</propertyURI>
<importAliases>
<importAlias>ptid</importAlias>
</importAliases>
</column>
<column columnName="date">
<datatype>timestamp</datatype>
<propertyURI>http://cpas.labkey.com/Study#VisitDate</propertyURI>
<conceptURI>http://cpas.labkey.com/Study#VisitDate</conceptURI>
</column>
<column columnName="enddate">
<datatype>timestamp</datatype>
<propertyURI>urn:ehr.labkey.org/#EndDate</propertyURI>
</column>
<column columnName="caseid">
<datatype>varchar</datatype>
<propertyURI>urn:ehr.labkey.org/#CaseId</propertyURI>
</column>
<column columnName="reviewdate">
<datatype>timestamp</datatype>
</column>
<column columnName="category">
<datatype>varchar</datatype>
</column>
<column columnName="project">
<datatype>integer</datatype>
<propertyURI>urn:ehr.labkey.org/#Project</propertyURI>
</column>
<column columnName="assignedvet">
<datatype>integer</datatype>
</column>
<column columnName="plan">
<datatype>varchar</datatype>
</column>
<column columnName="objectid">
<datatype>entityid</datatype>
<propertyURI>urn:ehr.labkey.org/#ObjectId</propertyURI>
<isKeyField>true</isKeyField>
</column>
<column columnName="vetreview">
<datatype>varchar</datatype>
<propertyURI>urn:ehr.labkey.org/#VetReview</propertyURI>
</column>
<column columnName="vetreviewdate">
<datatype>timestamp</datatype>
<propertyURI>urn:ehr.labkey.org/#VetReviewDate</propertyURI>
</column>
<column columnName="problem">
<datatype>varchar</datatype>
</column>
</columns>
<tableTitle>Cases</tableTitle>
</table>
</tables>
2 changes: 1 addition & 1 deletion MccColony/resources/queries/study/departure/.qview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<column name="date"/>
<column name="source"/>
<column name="destination"/>
<column name="mccTransfer"/>
<column name="mccRequestId"/>
<column name="remark"/>
<column name="qcstate" />
</columns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ protected void addTracks(final String databaseId, String releaseId)
FieldKey.fromString("url"),
FieldKey.fromString("description"),
FieldKey.fromString("isprimarytrack"),
FieldKey.fromString("vcfId/dataid/DataFileUrl")
FieldKey.fromString("vcfId/dataid/DataFileUrl"),
FieldKey.fromString("releaseId/luceneIndex/dataid/DataFileUrl")
);

TableInfo tracksPerRelease = QueryService.get().getUserSchema(getContainerUser().getUser(), getContainerUser().getContainer(), mGAPSchema.NAME).getTable(mGAPSchema.TABLE_TRACKS_PER_RELEASE);
Expand Down Expand Up @@ -270,7 +271,8 @@ private String getOrCreateJsonFile(Results rs, String fieldKey) throws SQLExcept

if (isDefaultTrack)
{
boolean hasLuceneIndex = StringUtils.trimToNull(rs.getString(FieldKey.fromString("luceneIndex/dataid/DataFileUrl"))) != null;
boolean hasLuceneIndex = StringUtils.trimToNull(rs.getString(FieldKey.fromString("releaseId/luceneIndex/dataid/DataFileUrl"))) != null;
getStatusLogger().info("Creating track JSON for primary track, has lucene index: " + hasLuceneIndex);
row.put("trackJson", getTrackJson(hasLuceneIndex));
}
else
Expand Down
2 changes: 1 addition & 1 deletion mGAP/src/org/labkey/mgap/mGAPController.java
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ public URLHelper getRedirectURL(GenomeBrowserForm form)
}
else
{
throw new IllegalArgumentException("Unable to find primary track for release: " + ctx.getString("mgapReleaseGUID"));
throw new IllegalArgumentException("Unable to find primary track for release: " + ctx.getString("mgapReleaseGUID") + ", with JBrowse ID: " + jbrowseDatabaseId);
}
}

Expand Down
5 changes: 3 additions & 2 deletions mGAP/src/org/labkey/mgap/mGapMaintenanceTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ private void checkMGapFiles(Logger log, User u)

if (!commandsToRun.isEmpty())
{
log.error("There are missing symlinks. Please run makeSymlinks.sh");
File bashFile = new File(baseDir, "makeSymlinks.sh");
log.error("There are missing symlinks. Please run " + bashFile.getPath());

try (PrintWriter writer = PrintWriters.getPrintWriter(new File(baseDir, "makeSymlinks.sh")))
try (PrintWriter writer = PrintWriters.getPrintWriter(bashFile))
{
writer.println("#!/bin/bash");
writer.println("set -e");
Expand Down
3 changes: 2 additions & 1 deletion mGAP/src/org/labkey/mgap/pipeline/mGapReleaseGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,9 @@ private File getTrackListFile(File outputDir)
}

@Override
public void complete(PipelineJob job, List<SequenceOutputFile> inputs, List<SequenceOutputFile> outputsCreated, SequenceAnalysisJobSupport support) throws PipelineJobException
public void complete(JobContext ctx, List<SequenceOutputFile> inputs, List<SequenceOutputFile> outputsCreated) throws PipelineJobException
{
PipelineJob job = ctx.getJob();
if (outputsCreated.isEmpty())
{
job.getLogger().error("no outputs found");
Expand Down
Loading