Changeset 5119


Ignore:
Timestamp:
Dec 26, 2021 9:15:19 PM (7 months ago)
Author:
toby
Message:

fix (partial?) problems with reading short HM names in fulHM routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r5112 r5119  
    37013701    if len(fields) == 4 and fields[1] == '1' and fields[3] == '1': #b-unique monoclinics
    37023702        return fields[0]+' '+fields[2]
    3703     if '/' not in SpcGp:
     3703    if '/' not in SpcGp or len(fields) < 3:
    37043704        return SpcGp
    37053705    if '-3' in fields[1]:   #trigonals
     
    37193719        fields[3] = fields[3].split('/')[1]
    37203720        return ' '.join(fields)
    3721     if '/' in fields[1] and len(fields) == 4:    #orthorhombics
     3721    if len(fields) == 4 and '/' in fields[1] and '/' in fields[2] and '/' in fields[3]:    #orthorhombics
    37223722        if fields[2] == '1':     #skip a-unique monoclinics
    37233723            return SpcGp
Note: See TracChangeset for help on using the changeset viewer.