- Timestamp:
- 10/05/11 18:45:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDcalcCoverage.java
r240 r241 34 34 public void run(List<Object> parameters) { 35 35 String modelname; 36 String observedName; 36 37 String[] sequenceNames; 37 38 int minLength; 38 39 int maxLength; 39 String observedName = "sequences";40 40 try { 41 41 modelname = (String) parameters.get(0); 42 sequenceNames = (String[]) parameters.get(1); 43 minLength = Integer.parseInt((String) parameters.get(2)); 44 maxLength = Integer.parseInt((String) parameters.get(3)); 45 if (parameters.size() == 5) { 46 observedName = (String) parameters.get(4); 47 } 42 observedName = (String) parameters.get(1); 43 sequenceNames = (String[]) parameters.get(2); 44 minLength = Integer.parseInt((String) parameters.get(3)); 45 maxLength = Integer.parseInt((String) parameters.get(4)); 48 46 } catch (Exception e) { 49 47 throw new InvalidParameterException(); … … 138 136 @Override 139 137 public void help() { 140 Console.println("Usage: calcCoverage <modelname> [sequenceNames] <minCovLength> <maxCovLength>");138 Console.println("Usage: calcCoverage <modelname> <observedSequences> [sequenceNames] <minCovLength> <maxCovLength>"); 141 139 } 142 140
Note: See TracChangeset
for help on using the changeset viewer.