Changeset 3327


Ignore:
Timestamp:
Mar 30, 2018 9:17:51 AM (6 years ago)
Author:
vondreele
Message:

small correction to byte counts for Bruker image importer - only affects 4byte values (i.e. around the beam stop!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2img_SFRM.py

    r3326 r3327  
    9090            Nunder = int(fields[0])
    9191            N2byte = 2*int(fields[1])
     92            if N2byte%16:
     93                N2byte = (N2byte//16+1)*16
    9294            N4byte = 4*int(fields[2])
     95            if N4byte%16:
     96                N4byte = (N4byte//16+1)*16
    9397    if frmt == 86:
    9498        lines = ['FORMAT 86 Bruker files currently not readible by GSAS-II',]
Note: See TracChangeset for help on using the changeset viewer.