Changeset 2103


Ignore:
Timestamp:
Dec 23, 2015 1:17:37 PM (6 years ago)
Author:
toby
Message:

start on Andrey's bug list: 2.Trying to out put multiple CHI-files fails; saving image table does not offer *.imtbl

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r2093 r2103  
    26162616        try:
    26172617            dlg = wx.FileDialog(self, 'Save table data as',
    2618                         defaultDir=dir, defaultFile=f, style=wx.SAVE)
     2618                        defaultDir=dir, defaultFile=f, style=wx.SAVE,
     2619                        wildcard='G2 Image Param Table file (*.imtbl)|*.imtbl')
    26192620            if dlg.ShowModal() != wx.ID_OK: return
    26202621            fil = dlg.GetPath()
  • trunk/exports/G2export_FIT2D.py

    r2018 r2103  
    6565        filenamelist = []
    6666        for hist in self.histnam:
     67            fileroot = G2obj.MakeUniqueLabel(self.MakePWDRfilename(self.histnam[0]),filenamelist)
     68            self.filename = os.path.join(self.dirname,fileroot + self.extension)
    6769            self.Writer(hist)
    6870            print('Histogram '+str(hist)+' written to file '+str(self.fullpath))
  • trunk/exports/G2export_csv.py

    r1997 r2103  
    196196        digitList = []
    197197        fileroot = G2obj.MakeUniqueLabel(self.MakePWDRfilename(self.histnam[0]),filenamelist)
    198         # create an instrument parameter file
     198        # create a file
    199199        self.filename = os.path.join(self.dirname,fileroot + self.extension)
    200200        for ihst,hist in enumerate(self.histnam):
Note: See TracChangeset for help on using the changeset viewer.