Changeset 1104


Ignore:
Timestamp:
Oct 14, 2013 4:00:01 PM (8 years ago)
Author:
toby
Message:

fix James Hester's problem reading CW neutron pdCIFs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_CIF.py

    r1077 r1104  
    312312        if cf[blk].get('_diffrn_radiation_probe'):
    313313            if cf[blk]['_diffrn_radiation_probe'] == 'neutron':
    314                 self.instdict['type'] = 'SNC'
    315                 #if cf[blk].get('_pd_meas_time_of_flight'): self.instdict['type'] = 'SNT' # not supported yet
    316             else:
    317                 self.instdict['type'] = 'SXC'
     314                self.instdict['type'] = 'PNC'
     315                #if cf[blk].get('_pd_meas_time_of_flight'): self.instdict['type'] = 'PNT' # not supported yet
     316            else:
     317                self.instdict['type'] = 'PXC'
    318318        if cf[blk].get('_diffrn_radiation_wavelength'):
    319319            val = cf[blk]['_diffrn_radiation_wavelength']
Note: See TracChangeset for help on using the changeset viewer.