Ignore:
Timestamp:
Apr 25, 2012 2:38:19 PM (10 years ago)
Author:
vondreele
Message:

fixed import of .gpx phases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/G2importphase_GPX.py

    r484 r574  
    99import cPickle
    1010import GSASIIIO as G2IO
     11import GSASIIstruct as G2str
    1112
    1213class PhaseReaderClass(G2IO.ImportPhase):
     
    2829    def Reader(self,filename,filepointer, ParentFrame=None):
    2930        try:
    30             phasenames = G2IO.GetPhaseNames(filename)
     31            phasenames = G2str.GetPhaseNames(filename)
    3132            print phasenames
    3233        except:
     
    4445            if selblk is None: return False # User pressed cancel
    4546        try:
    46             self.Phase = G2IO.GetAllPhaseData(filename,phasenames[selblk])
     47            self.Phase = G2str.GetAllPhaseData(filename,phasenames[selblk])
    4748            return True
    4849        except:
Note: See TracChangeset for help on using the changeset viewer.