Changeset 1984


Ignore:
Timestamp:
12/29/06 14:22:27 (13 years ago)
Author:
chris
Message:

Browser:
1) fix of channels being off bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/browser/LociDataBrowser.java

    r1983 r1984  
    174174      try { 
    175175        numZ = fStitch.getSizeZ(id); 
    176         numC = fStitch.getEffectiveSizeC(id); 
     176        if(reader instanceof ChannelMerger) numC = fStitch.getEffectiveSizeC(id); 
     177        else numC = fStitch.getSizeC(id); 
    177178        numT = fStitch.getSizeT(id); 
    178179        order = fStitch.getDimensionOrder(id); 
     
    187188      try { 
    188189        numZ = reader.getSizeZ(id); 
    189         numC = reader.getEffectiveSizeC(id); 
     190        if(reader instanceof ChannelMerger) numC = reader.getEffectiveSizeC(id); 
     191        else numC = reader.getSizeC(id); 
    190192        numT = reader.getSizeT(id); 
    191193        order = reader.getDimensionOrder(id); 
Note: See TracChangeset for help on using the changeset viewer.