Changeset 3166 for trunk/testinp


Ignore:
Timestamp:
Nov 29, 2017 10:38:49 PM (8 years ago)
Author:
toby
Message:

Misc Py3 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/testinp/genhkltest.py

    r103 r3166  
    3030    #ms.show_summary()
    3131    spcg = ("%s" %  ms.space_group_info()).split(':')[0]
    32     print spcg
     32    print(spcg)
    3333    fp.write("'%s': [\n" % spcg)
    3434    fp.write("%s ,\n" % ms.unit_cell())
     
    3737        if hkllist.has_key(d):
    3838            hkllist[d].append(hkl)
    39             print hkllist[d]
     39            print(hkllist[d])
    4040        else:
    4141            hkllist[d] = [hkl,]
     
    8989    if len(spcglist) > 1:
    9090        if spcglist[1] == 'R': spcg += ' R'
    91     print spcg
     91    print(spcg)
    9292    #fp.write("'%s': [\n" % spcg)
    9393    fp.write("'%s': [\n" % sg)
Note: See TracChangeset for help on using the changeset viewer.