Name |
Type |
Description |
genotyping_comparison |
externaltool |
|
clustering |
externaltool |
|
app_dir |
stringconstant |
Value/gne/research/apps/gcell/prd/arch-indep/bin |
Ask |
localworker |
Scriptimport javax.swing.JOptionPane;
answer = JOptionPane.showInputDialog(null, (message == void ? null : message), (title == void ? null : title), JOptionPane.QUESTION_MESSAGE);
|
message_value |
stringconstant |
ValueType in your input values. Make sure they are comma delimited with no spaces in-between: ("New plate" ex: 1 || "Existing plate(s)" ex: 1,3,28 || "CLID(s)" ex: CL12345,CL65432 || "All" leave the input BLANK and press "ok" |
title_value |
stringconstant |
ValueA |
Choose |
localworker |
Scriptimport javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
if ((selectionValues == void) || (selectionValues == null) || (selectionValues.isEmpty())) {
throw new RuntimeException("selectionValues must be specified and non-empty");
}
ButtonGroup group = new ButtonGroup();
JPanel messagePanel = new JPanel();
messagePanel.setLayout(new BoxLayout(messagePanel,BoxLayout.Y_AXIS));
messagePanel.add(new JLabel((message == void ? null : message)));
JRadioButton[] buttonArray = new JRadioButton[selectionValues.size()];
for (int i = 0; i < buttonArray.length; i++) {
buttonArray[i] = new JRadioButton(selectionValues.get(i));
if (i==0) buttonArray[i].setSelected(true);
group.add(buttonArray[i]);
messagePanel.add(buttonArray[i]);
}
JOptionPane.showOptionDialog(null, messagePanel, (title == void ? null : title),
JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, new Object[]{"OK"}, null);
String answer="";
for (JRadioButton button : buttonArray) {
if (button.isSelected()) {
answer=button.getText();
}
}
|
Split_string_into_string_list_by_regular_expression |
localworker |
ScriptList split = new ArrayList();
if (!string.equals("")) {
String regexString = ",";
if (regex != void) {
regexString = regex;
}
String[] result = string.split(regexString);
for (int i = 0; i < result.length; i++) {
split.add(result[i]);
}
}
|
regex_value |
stringconstant |
Value, |
string_value |
stringconstant |
ValueNew plate (and load to database), New plate (don't load to database),Existing plate(s),CLID(s),All past plates |
message_value_1 |
stringconstant |
ValueChoose an analysis type: |
title_value_1 |
stringconstant |
ValueAnalysis Selection |
Beanshell |
beanshell |
Scriptarg2 = "n";
if (type.equals("New plate (and load to database)")) {
arg = "p";
arg2 = "y";
} else if ( type.equals("New plate (don't load to database)")) {
} else if (type.equals("Existing plate(s)")) {
arg = "e";
} else if (type.equals("CLID(s)")) {
arg = "c";
} else if (type.equals("All past plates")) {
arg = "a";
} else {
arg = "p";
} |
Tell |
localworker |
Scriptimport javax.swing.JOptionPane;
JOptionPane.showMessageDialog(null, (message == void ? null : message), (title == void ? null : title), JOptionPane.INFORMATION_MESSAGE);
answer = "answer";
|
message_value_2 |
stringconstant |
ValueHeatmap script has finished |
Tell_2 |
localworker |
Scriptimport javax.swing.JOptionPane;
JOptionPane.showMessageDialog(null, (message == void ? null : message), (title == void ? null : title), JOptionPane.INFORMATION_MESSAGE);
answer = "answer";
|
message_value_3 |
stringconstant |
ValueGenotyping Comparision Script has finished |
No comments yet
Log in to make a comment