Ignore:
Timestamp:
Mar 24, 2021 1:06:49 PM (2 years ago)
Author:
vondreele
Message:

fixes to monoclinic A,C,I centered cell indexing (still need to do P)
fix bug in bond restraints & add enhancement to atom requests for bonds, angles & planes.
Remove 'U' from open in G2phase.py - deprecated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2phase.py

    r4415 r4865  
    7676        EightPiSq = 8.*math.pi**2
    7777        self.errors = 'Error opening file'
    78         file = open(filename, 'Ur')
     78        file = open(filename, 'r')
    7979        Phase = {}
    8080        Title = os.path.basename(filename)
     
    449449        '''
    450450        self.errors = 'Error opening file'
    451         fp = open(filename, 'Ur') #contains only cell & spcgroup
     451        fp = open(filename, 'r') #contains only cell & spcgroup
    452452        Phase = {}
    453453        Title = os.path.basename(filename)
     
    523523        waveTypes = ['Fourier','Sawtooth','ZigZag',]
    524524        filename2 = os.path.splitext(filename)[0]+'.m40'
    525         file2 = open(filename2,'Ur')
     525        file2 = open(filename2,'r')
    526526        S = file2.readline()
    527527        line = 1
Note: See TracChangeset for help on using the changeset viewer.