Ignore:
Timestamp:
Dec 21, 2017 11:50:09 AM (4 years ago)
Author:
vondreele
Message:

fix bugs in various exporters for cif & pdb files.
allow for missing SGDataSGFixed? parameter in SGPrint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/exports/G2export_PDB.py

    r3136 r3200  
    106106            for chain in chains:
    107107                nres = len(seqList[chain])
    108                 nrec = (nres-1)/13+1
     108                nrec = (nres-1)//13+1
    109109                iB = 0
    110110                for irec in range(nrec):
     
    231231            if len(self.phasenam) > 1: # if more than one filename is included, add a phase #
    232232                self.filename = os.path.splitext(filename)[1] + "_" + str(i) + self.extension
    233             fp = self.OpenFile()
    234233            cx,ct,cs,cia = General['AtomPtrs']
    235234            Cell = General['Cell'][1:7]
Note: See TracChangeset for help on using the changeset viewer.