Changeset 6662


Ignore:
Timestamp:
07/07/10 13:48:08 (9 years ago)
Author:
melissa
Message:

Removed some obsolete hacks that prevented physical sizes from being parsed incorrectly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/in/FluoviewReader.java

    r6655 r6662  
    468468      for (int j=0; j<8; j++) { 
    469469        stamps[j][i] = ras.readDouble() / 1000; 
    470  
    471         // correct for clock skew? 
    472         int pow = -1; 
    473         while (Math.pow(2, pow) < stamps[j][i]) { 
    474           stamps[j][i] -= (0.032 * (Math.pow(2, pow < 0 ? 0 : pow))); 
    475           pow++; 
    476         } 
    477470      } 
    478471      ras.close(); 
     
    484477    for (int i=0; i<s.length; i++) { 
    485478      b[i] = (byte) s[i]; 
    486       if (b[i] < 0) b[i]++; 
    487479    } 
    488480    return b; 
Note: See TracChangeset for help on using the changeset viewer.