This commit is contained in:
@@ -198,7 +198,7 @@ public class BasePlate extends DeviceBase {
|
||||
try {
|
||||
Puck p = getPuckByName(name.substring(0, 2));
|
||||
if (p != null) {
|
||||
return p.getSamples()[Integer.valueOf(name.substring(2, 3)) - 1];
|
||||
return p.getSamples()[Integer.valueOf(name.substring(2, name.length())) - 1];
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user