Skip to content

Commit

Permalink
Always read off URL for sequence pipeline page
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Jul 17, 2024
1 parent 0c4d74d commit 635cf9f
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ Ext4.define('SequenceAnalysis.panel.BaseSequencePanel', {
return;
}

// If auto-loading, assume we want to read the URL
thePanel.down('#readUrlParams').setValue(true);

var recIdx = store.find('name', LABKEY.ActionURL.getParameter('template'));
if (recIdx > -1) {
thePanel.down('labkey-combo').setValue(store.getAt(recIdx));
Expand Down Expand Up @@ -300,12 +297,6 @@ Ext4.define('SequenceAnalysis.panel.BaseSequencePanel', {
helpPopup: 'By default, the pipelines jobs and their outputs will be created in the workbook you selected. However, in certain cases, such as bulk submission of many jobs, it might be preferable to submit each job to the source folder/workbook for each input. Checking this box will enable this.',
fieldLabel: 'Submit Jobs to Same Folder/Workbook as Readset',
labelWidth: 200
},{
xtype: 'checkbox',
itemId: 'readUrlParams',
helpPopup: 'If true, any parameters provided on the URL with the same name as a parameter in the JSON will be read and override the template.',
fieldLabel: 'Read Parameters From URL',
labelWidth: 200
}]
}],
buttons: [{
Expand Down Expand Up @@ -362,8 +353,7 @@ Ext4.define('SequenceAnalysis.panel.BaseSequencePanel', {
delete json.submitJobToReadsetContainer;
}

var readUrlParams = win.down('#readUrlParams').getValue();
win.sequencePanel.applySavedValues(json, readUrlParams);
win.sequencePanel.applySavedValues(json, true);

var submitJobToReadsetContainer = win.sequencePanel.down('[name="submitJobToReadsetContainer"]');
if (submitJobToReadsetContainer) {
Expand Down

0 comments on commit 635cf9f

Please sign in to comment.