Changeset 292 for trunk/GSASIIIO.py


Ignore:
Timestamp:
May 17, 2011 4:45:20 PM (11 years ago)
Author:
vondreele
Message:

allow more than one phase for calibration
fix temperature reading from 11BM header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r281 r292  
    8080            else:
    8181                Comments.append(S[:-1])
    82                 if 'Temp' in S:
    83                     Temperature = float(S[:-1].split()[-1])
     82                if 'Temp' in S.split('=')[0]:
     83                    Temperature = float(S.split('=')[1])
    8484        File.close()
    8585    finally:
Note: See TracChangeset for help on using the changeset viewer.