Changeset 4831


Ignore:
Timestamp:
Feb 27, 2021 11:59:43 AM (8 months ago)
Author:
vondreele
Message:

Fix SHELX hkl importer to deal with 3 digit hkls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2sfact.py

    r3756 r4831  
    150150            self.errors = '  Error reading line '+str(line+1)
    151151            if S[0] == '#': continue       #ignore comments, if any
    152             h,k,l = S[:12].split()
     152            h,k,l = S[:4],S[4:8],S[8:12]
     153#            h,k,l = S[:12].split()
    153154            Fo,sigFo = S[12:].split()[:2]
    154155#                h,k,l,Fo,sigFo = S[:4],S[4:8],S[8:12],S[12:20],S[20:28]
Note: See TracChangeset for help on using the changeset viewer.