Ignore:
Timestamp:
Mar 1, 2021 8:31:47 AM (2 years ago)
Author:
vondreele
Message:

fix gaim map calc to include cylindrical sample absorption
fix phase cif importer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2phase_CIF.py

    r4830 r4832  
    598598                isodistort_warnings += '\nRepeated atom labels prevents ISODISTORT decode'
    599599            for lbl in phasenamefields: # get a name for the phase
    600                 name = blk.get(lbl)[0]
     600                try:
     601                    name = blk.get(lbl)[0]
     602                except TypeError:
     603                    name = blk.get(lbl)
    601604                if name is None:
    602605                    continue
Note: See TracChangeset for help on using the changeset viewer.