Changeset 3722


Ignore:
Timestamp:
Nov 7, 2018 9:26:18 AM (3 years ago)
Author:
vondreele
Message:

fix to replace '.' to '_' in gpx file names made for magnetic structures from phase names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3719 r3722  
    26252625        if ifMag:
    26262626            G2cnstG.TransConstraints(G2frame,data,newPhase,magchoice['Trans'],vvec,atCodes)     #data is old phase
    2627             G2frame.newGPXfile = phaseName+'.gpx'
     2627            G2frame.newGPXfile = phaseName.replace('.','_')+'.gpx'          #'.' in file names is a bad idea
    26282628            UCdata[5] = []      #clear away other mag choices from chem phase in new project
    26292629            G2frame.GPXtree.SetItemPyData(UnitCellsId,UCdata)
Note: See TracChangeset for help on using the changeset viewer.