Changeset 3210 for trunk/GSASIIspc.py


Ignore:
Timestamp:
Dec 29, 2017 12:52:35 PM (4 years ago)
Author:
vondreele
Message:

some fixes for magnetic incommensurate cifs - dealing with 2 different dictionary defns for mcif!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r3208 r3210  
    404404        SGText.append(' The equivalent positions are:\n')
    405405    else:   
    406         SGText.append(' The equivalent positions are:')
     406        SGText.append(' The equivalent positions are:\n')
    407407        SGText.append(' ('+Latt2text(SGData['SGCen'])+')+\n')
    408408    SGTable = []
     
    13851385            return True
    13861386        if SGData.get('SGGray',False):
    1387             if sym[-1] == 's':
     1387            if sym and sym[-1] == 's':
    13881388                sym = sym[:-1]
    13891389                if sym == '':
    13901390                    return True
    13911391            else:
    1392                 return False
     1392                sym += 's'
     1393                return True
    13931394# monoclinic - all done
    13941395        if str(SSGKl) == '[-1]' and sym == 's':
     
    14901491    if len(gensym) and Ngen != len(SSGKl):
    14911492        return 'Wrong number of items in generator symbol '+''.join(gensym),None
    1492     if not checkGen(gensym):
    1493         return 'Generator '+''.join(gensym)+' not consistent with space group '+SGData['SpGrp'],None
     1493#    if not checkGen(gensym):
     1494#        return 'Generator '+''.join(gensym)+' not consistent with space group '+SGData['SpGrp'],None
    14941495    gensym = specialGen(gensym[:Ngen],modsym)
    14951496    genQ = [Fracs[mod] for mod in gensym[:Ngen]]
Note: See TracChangeset for help on using the changeset viewer.