Changeset 5354


Ignore:
Timestamp:
Oct 22, 2022 8:11:05 AM (11 months ago)
Author:
vondreele
Message:

remove "magnetic" O atom from possible magnetic ion lists from k-SUBGROUPSMAG

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r5352 r5354  
    30893089            atMxyz = []
    30903090            for ia,atom in enumerate(Atoms):
     3091                if atom[1] == 'O':       #skip "magnetic" O atoms
     3092                    continue
    30913093                if ifMag and not len(G2elem.GetMFtable([atom[1],],[2.0,])):
    30923094                    continue
  • trunk/GSASIIpwdGUI.py

    r5342 r5354  
    44684468                    caption='k-SUBGROUPSMAG setup error: Phase loaded?',style=wx.ICON_EXCLAMATION)
    44694469            return
    4470         testAtoms = ['',]+[atom for atom in atoms if len(G2elem.GetMFtable([atom,],[2.0,]))]
     4470        testAtoms = ['',]+[atom for atom in atoms if (len(G2elem.GetMFtable([atom,],[2.0,])) and atom != 'O')]   #skip "magnetic" O atoms
    44714471        Kx = [' ','0','1/2','-1/2','1/3','-1/3','2/3','1']
    44724472        Ky = [' ','0','1/2','1/3','2/3','1']
Note: See TracChangeset for help on using the changeset viewer.