package com.imaging100x.hcs;

import org.micromanager.navigation.MultiStagePosition;
import org.micromanager.navigation.PositionList;

public class TestSBSPlate {

   /**
    * @param args
    */
   public static void main(String[] args) {

      SBSPlate plate = new SBSPlate();
      plate.initialize(SBSPlate.SBS_96_WELL);
      PositionList posList = plate.generateWellPositions();
      System.out.println("Created plate with " + posList.getNumberOfPositions() + " wells.");
      for (int i=0; i<posList.getNumberOfPositions(); i++) {
         MultiStagePosition mps = posList.getPosition(i);
         System.out.println("Well " + mps.getLabel() + " : X=" + mps.getX() + ", Y=" + mps.getY());
      }
   }

}

@@ -1,8 +1,1108 @@
+///////////////////////////////////////////////////////////////////////////////%0D%0A//FILE:           TestSBSPlate.java%0D%0A//PROJECT:        Micro-Manager-S%0D%0A//SUBSYSTEM:      high content screening%0D%0A//-----------------------------------------------------------------------------%0D%0A//%0D%0A//AUTHOR:         Nenad Amodaj, nenad@amodaj.com, June 3, 2008%0D%0A//%0D%0A//COPYRIGHT:      100X Imaging Inc, www.100ximaging.com, 2008%0D%0A//                %0D%0A//LICENSE:        This file is distributed under the GPL license.%0D%0A//                License text is included with the source distribution.%0D%0A//%0D%0A//                This file is distributed in the hope that it will be useful,%0D%0A//                but WITHOUT ANY WARRANTY; without even the implied warranty%0D%0A//                of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.%0D%0A//%0D%0A//                IN NO EVENT SHALL THE COPYRIGHT OWNER OR%0D%0A//                CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,%0D%0A//                INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES.%0D%0A//%0D%0A//CVS:            $Id: MetadataDlg.java 1275 2008-06-03 21:31:24Z nenad $%0D%0A%0D%0A
 package 

test program updated for SBS plate