Changeset 2408


Ignore:
Timestamp:
Aug 4, 2016 1:40:47 PM (5 years ago)
Author:
toby
Message:

error message for Bruker v. 4 Raw file import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_BrukerRAW.py

    r2406 r2408  
    88########### SVN repository information ###################
    99'''
    10 *Module G2pwd_BrukerRAW: Bruker 3 & 4 .raw data*
    11 ------------------------------------
    12 
    13 Routine to read in powder data from a Bruker 3 & 4 .raw file
     10*Module G2pwd_BrukerRAW: Bruker v.1-v.3 .raw data*
     11---------------------------------------------------
     12
     13Routine to read in powder data from a Bruker versions 1-3 .raw file
    1414
    1515'''
     
    2323import GSASIIpath
    2424GSASIIpath.SetVersionNumber("$Revision: 1620 $")
    25 class xye_ReaderClass(G2IO.ImportPowderData):
     25class raw_ReaderClass(G2IO.ImportPowderData):
    2626    'Routines to import powder data from a binary Bruker .RAW file'
    2727    def __init__(self):
     
    4545        elif head == 'RAW4.00':
    4646            self.formatName = 'Bruker RAW ver. 4'
     47            self.errors += "Sorry, this is a Version 4 Bruker file. "
     48            self.errors += "We need documentation for it so that it can be implemented in GSAS-II. "
     49            self.errors += "Use PowDLL (http://users.uoi.gr/nkourkou/powdll/) to convert it to ASCII xy."
     50            print(self.errors)
     51            return False
    4752        else:
    4853            self.errors = 'Unexpected information in header: '
Note: See TracChangeset for help on using the changeset viewer.