Ignore:
Timestamp:
Jan 22, 2008, 10:42:12 AM (13 years ago)
Author:
mbayer
Message:

new page added to gather additional info needed for autogeneration of t2m file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/uk_ac_ebi_Tab2MageImporter/jsp/uk/ac/ebi/nugo/plugins/mappings.jsp

    r547 r548  
    165165
    166166  //work out the number of hybridizations
     167  String platform = inputDataBean.getPlatform();
     168  //work out whether this is a single or dual channel experiment
     169  boolean singleChannel = false;
     170  if (platform.equalsIgnoreCase("affymetrix"))
     171  {
     172    singleChannel = true;
     173  }
    167174  int numReplicates = Integer.parseInt(inputDataBean.getNumReplicates());
    168175  int numTreatmentGroups = Integer.parseInt(inputDataBean.getNumTreatmentGroups());
    169176  int numTissues = inputDataBean.getTissues().split("\n").length;
    170   int numHybs = Tab2MageWriter.calcNumHybs(numReplicates, numTreatmentGroups, numTissues);
     177  int numHybs = Tab2MageWriter.calcNumHybs(singleChannel,numReplicates, numTreatmentGroups, numTissues);
    171178  System.out.println("numHybs = " + numHybs);
    172179  System.out.println("products.length = " + products.length);
Note: See TracChangeset for help on using the changeset viewer.