Skip to content

Commit 6f2ef04

Browse files
committed
Remove special handling of cDNA import treatment field
1 parent 56e20ba commit 6f2ef04

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

singlecell/resources/web/singlecell/panel/PoolImportPanel.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,10 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
5454
transform: 'stim'
5555
},{
5656
name: 'assaytype',
57-
labels: ['Assay Type', 'Assay Type', 'Assay'],
57+
labels: ['Assay Type', 'Assay Type', 'Assay', 'treatment'],
5858
allowRowSpan: false,
5959
allowBlank: false,
6060
transform: 'assaytype'
61-
},{
62-
name: 'treatment',
63-
labels: ['Treatment'],
64-
allowRowSpan: false,
65-
allowBlank: false
6661
},{
6762
name: 'tube_num',
6863
labels: ['Tube #', 'Stim #'],
@@ -622,7 +617,6 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
622617
stim: r.stim,
623618
celltype: r.celltype,
624619
assaytype: r.assaytype || 'None',
625-
treatment: r.treatment,
626620
tissue: r.tissue,
627621
objectId: r.objectId,
628622
population: r.population,
@@ -843,7 +837,6 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
843837
celltype: row.celltype,
844838
tissue: row.tissue,
845839
assaytype: row.assaytype || 'None',
846-
treatment: row.treatment,
847840
objectId: guid,
848841
workbook: row.workbook
849842
});
@@ -1127,7 +1120,7 @@ Ext4.define('SingleCell.panel.PoolImportPanel', {
11271120
},
11281121

11291122
getSampleKey: function(data){
1130-
return [data.sampleId, data.subjectId, data.stim, data.assaytype, data.treatment, data.tissue, (Ext4.isDate(data.sampleDate) ? Ext4.Date.format(data.sampleDate, 'Y-m-d') : data.sampleDate)].join('|');
1123+
return [data.sampleId, data.subjectId, data.stim, data.assaytype, data.tissue, (Ext4.isDate(data.sampleDate) ? Ext4.Date.format(data.sampleDate, 'Y-m-d') : data.sampleDate)].join('|');
11311124
},
11321125

11331126
getSortKey: function(data){

singlecell/src/org/labkey/singlecell/SingleCellController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private static List<Map<String, Object>> parseRows(SimpleApiJsonForm form, Strin
378378
@RequiresPermission(ReadPermission.class)
379379
public static class GetMatchingSamplesAction extends ReadOnlyApiAction<SimpleApiJsonForm>
380380
{
381-
final List<String> FIELDS = Arrays.asList("subjectId", "sampledate", "subjectid", "celltype", "tissue", "assaytype", "stim", "treatment");
381+
final List<String> FIELDS = Arrays.asList("subjectId", "sampledate", "subjectid", "celltype", "tissue", "assaytype", "stim");
382382

383383
@Override
384384
public Object execute(SimpleApiJsonForm form, BindException errors) throws Exception

0 commit comments

Comments
 (0)