Changeset 3401


Ignore:
Timestamp:
May 24, 2018 12:19:27 PM (3 years ago)
Author:
vondreele
Message:

fix problem with atom IDs for magnetic atoms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2phase_CIF.py

    r3338 r3401  
    475475                    for mval,mkey in zip(magatomloop.GetKeyedPacket(magmoment,atomlist[0]),magatomkeys):
    476476                        mcol = G2MagDict.get(mkey,-1)
    477                         if mcol:
     477                        if mcol > 0:
    478478                            matomlist[mcol] = cif.get_number_with_esd(mval)[0]
    479479                    self.MPhase['Atoms'].append(matomlist)
Note: See TracChangeset for help on using the changeset viewer.