@@ -242,7 +242,7 @@ def __init__(self,G2frame):
242242 G2frame = G2frame ,
243243 formatName = 'ORCA Cartesian inp' ,
244244 extension = '.inp' ,
245- longFormatName = 'Export phase with basic ORCA Cartesian coordinates as .inp file'
245+ longFormatName = 'Export draw atoms with basic ORCA Cartesian coordinates as .inp file'
246246 )
247247 self .exporttype = ['phase' ]
248248 self .multiple = True
@@ -265,13 +265,14 @@ def Exporter(self,event=None):
265265 phasedict = self .Phases [phasenam ] # pointer to current phase info
266266 General = phasedict ['General' ]
267267 i = self .Phases [phasenam ]['pId' ]
268- Atoms = phasedict ['Atoms' ]
268+ drawingData = phasedict ['Drawing' ]
269+ cx ,ct ,cs ,ci = drawingData ['atomPtrs' ]
270+ Atoms = drawingData ['Atoms' ]
269271 if not len (Atoms ):
270272 print ('**** ERROR - Phase ' + phasenam + ' has no atoms! ****' )
271273 continue
272274 if len (self .phasenam ) > 1 : # if more than one filename is included, add a phase #
273275 self .filename = Oname + "_" + str (i ) + self .extension
274- cx ,ct ,cs ,cia = General ['AtomPtrs' ]
275276 Cell = General ['Cell' ][1 :7 ]
276277 A ,B = G2lat .cell2AB (Cell )
277278 self .Write ('# GSAS-II generated ORCA input file\n # Basic Mode' )
0 commit comments