Hello,
I'm still trying to get over the JSL "hump," so forgive the fundamental question.
The issue:
- I have a sample table that contains data sets for three replicates with sample suffix a1, a2, and a3.
- At times, one of the replicates needs to be set to the "Excluded" state (example below is a2)
- I'm writing a batch script that will open a table and apply calculations only sets that were not excluded.
- However, I'm still not there with my attempt (shown below) since data from all three are still being considered.
- I feel like an "and" statement may be necessary to identify non-excluded rows, then applying search for suffixes.
Any input, would be most appreciative.
Thanks Neil
states = Current Data Table() << Get Row States();
For( i = 1, i <= N Rows( states ), i++,
rs = As Row State( states[i] );
if (Excluded(rs)==0,
a1 = dt << Get Rows Where(Contains(:Sample,"a1"));
a2 = dt << Get Rows Where(Contains(:Sample,"a2"));
a3 = dt << Get Rows Where(Contains(:Sample,"a3"));
);
)