Changeset 4461 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Jun 3, 2020 5:09:35 PM (17 months ago)
Author:
vondreele
Message:

fix bugs in MakeRMC6f & MakefullrmcPDB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r4447 r4461  
    22302230    Dups,Fracs = findDup(Phase['Atoms'])
    22312231    Sfracs = [np.cumsum(fracs) for fracs in Fracs]
    2232     ifSfracs = np.any(np.array(Sfracs)-1.)
     2232    ifSfracs = any([np.any(sfracs-1.) for sfracs in Sfracs])
    22332233    Sample = PWDdata['Sample Parameters']
    22342234    Meta['temperature'] = Sample['Temperature']
     
    27832783    Dups,Fracs = findDup(Phase['Atoms'])
    27842784    Sfracs = [np.cumsum(fracs) for fracs in Fracs]
    2785     ifSfracs = np.any(np.array(Sfracs)-1.)
     2785    ifSfracs = any([np.any(sfracs-1.) for sfracs in Sfracs])
    27862786    Supercell = RMCPdict['SuperCell']
    27872787    Cell = generalData['Cell'][1:7]
Note: See TracChangeset for help on using the changeset viewer.