Ignore:
Timestamp:
Oct 26, 2018 4:39:39 AM (5 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
9d23e4c, 722b7d6
Parents:
aed159f
Message:

More fixes from PK's CR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/ConvertUnits.py

    rb8080e1 r75906a1  
    1010    """ 
    1111    if power != 0: 
    12         if unit.find("^") != -1:  # if the unit contains a powerer ^ 
    13             toks = re.split("\^", unit) 
     12        if unit.find("^") != -1:  # if the unit contains a power ^ 
     13            toks = re.split(r"\^", unit) 
    1414            if toks[0].find("/") != -1 or \ 
    1515                toks[0].find("-") != -1: 
Note: See TracChangeset for help on using the changeset viewer.