Skip to content

Commit a815b6b

Browse files
committed
Merge discvr-22.11 to develop
2 parents 1d79f4e + 7f8653f commit a815b6b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

SequenceAnalysis/api-src/org/labkey/api/sequenceanalysis/run/RCommandWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.labkey.api.pipeline.PipelineJobService;
2222
import org.labkey.api.reports.ExternalScriptEngineDefinition;
2323
import org.labkey.api.reports.LabKeyScriptEngineManager;
24-
import org.labkey.api.reports.report.r.RScriptEngineFactory;
24+
import org.labkey.api.reports.RScriptEngineFactory;
2525
import org.labkey.api.services.ServiceRegistry;
2626

2727
import java.io.File;

SequenceAnalysis/src/org/labkey/sequenceanalysis/SequenceAnalysisMaintenanceTask.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import org.labkey.api.data.Container;
88
import org.labkey.api.data.ContainerManager;
99
import org.labkey.api.data.SimpleFilter;
10+
import org.labkey.api.data.Sort;
1011
import org.labkey.api.data.TableInfo;
1112
import org.labkey.api.data.TableSelector;
1213
import org.labkey.api.exp.api.ExpData;
@@ -137,7 +138,7 @@ private void verifySequenceDataPresent(Logger log)
137138
{
138139
log.info("verifying sequence data files present");
139140
TableInfo ti = SequenceAnalysisSchema.getTable(SequenceAnalysisSchema.TABLE_READ_DATA);
140-
TableSelector ts = new TableSelector(ti);
141+
TableSelector ts = new TableSelector(ti, null, new Sort("container"));
141142

142143
log.info("Inspecting ReadData");
143144
List<ReadDataImpl> readDatas = ts.getArrayList(ReadDataImpl.class);
@@ -202,13 +203,13 @@ else if (!d.getFile().exists())
202203
//also check analyses
203204
log.info("Inspecting Analyses");
204205
TableInfo analysesTable = SequenceAnalysisSchema.getTable(SequenceAnalysisSchema.TABLE_ANALYSES);
205-
TableSelector tsAnalyses = new TableSelector(analysesTable);
206+
TableSelector tsAnalyses = new TableSelector(analysesTable, null, new Sort("container"));
206207
List<AnalysisModelImpl> analyses = tsAnalyses.getArrayList(AnalysisModelImpl.class);
207208
i = 0;
208209
for (AnalysisModelImpl m : analyses)
209210
{
210211
i++;
211-
if (i % 500 == 0)
212+
if (i % 1000 == 0)
212213
{
213214
log.info("analysis " + i + " of " + analyses.size() + ". Current container: " + ContainerManager.getForId(m.getContainer()).getPath());
214215
}

singlecell/src/org/labkey/singlecell/pipeline/singlecell/NormalizeAndScale.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public Provider()
5151
}}, false),
5252
SeuratToolParameter.create("nVariableFeatures", "# Variable Features", "Controls the number of variable features that will be used. This only applies to the standard NormalizeData/ScaleData pipeline, not SCTransform", "ldk-integerfield", new JSONObject(){{
5353
put("minValue", 0);
54-
}}, null),
54+
}}, 3000),
5555
SeuratToolParameter.create("scoreCellCycle", "Score Cell Cycle?", "If checked, ScoreCellCycle will be run to compute Phase, which is stored in meta.data. If a field named Phase already exists, this will be skipped", "checkbox", new JSONObject(){{
5656
put("checked", true);
5757
}}, true),

0 commit comments

Comments
 (0)