Changeset 2164


Ignore:
Timestamp:
Mar 8, 2016 9:41:06 AM (6 years ago)
Author:
vondreele
Message:

fix problem for MAR files when header has DISTANCE = 0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r2163 r2164  
    729729        elif 'DISTANCE' in line:
    730730            distance = float(line.split()[1])           #in mm
     731            if not distance:
     732                distance = 500.
    731733        elif 'CENTER' in line:
    732734            values = line.split()
Note: See TracChangeset for help on using the changeset viewer.