Changeset 4713


Ignore:
Timestamp:
Jan 4, 2021 4:08:43 PM (3 years ago)
Author:
toby
Message:

more installer work; xmgrace enhance from Carlo

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • install/setversion.py

    r4710 r4713  
    6868        continue
    6969    if sys.platform == "win32" and platform.architecture()[0] != '64bit':
    70         print('changing for 32-bit windows')
    71         out = out.replace('win-64','win-32')
    72     if sys.platform.startswith("linux") and platform.architecture()[0] != '32bit':
    73         print('changing for 32-bit linux')
    74         out = out.replace('linux-64','linux-32')
     70        if 'win-64' in out:
     71            print('changing for 32-bit windows')
     72            out = out.replace('win-64','win-32')
     73    if sys.platform.startswith("linux") and platform.architecture()[0] != '64bit':
     74        if 'linux-64' in out:
     75            print('changing for 32-bit linux')
     76            out = out.replace('linux-64','linux-32')
    7577    out = out.replace('**pyversion**',pyversion)
    7678    out = out.replace('**npversion**',npversion)
  • trunk/GSASIIplot.py

    r4712 r4713  
    36783678        fp.write('@{}axis ticklabel char size {}\n'.format('x',0)) # turns off axis labels
    36793679        if 'sqrt' in Plot.yaxis.get_label().get_text():
    3680             ylbl = 'sqrt(Intensity)' # perhaps there is a way to get the symbol in xmgrace but I did not find it
     3680            #ylbl = 'sqrt(Intensity)' # perhaps there is a way to get the symbol in xmgrace but I did not find it
     3681            ylbl = r'\x\#{d6}\f{}\oIntensity\O' # from Carlo Segre
    36813682        else:
    36823683            ylbl = 'Intensity'
Note: See TracChangeset for help on using the changeset viewer.