Changeset 75906a1 in sasview for src/sas/qtgui/Plotting/ConvertUnits.py
- Timestamp:
- Oct 26, 2018 4:39:39 AM (5 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/ConvertUnits.py
rb8080e1 r75906a1 10 10 """ 11 11 if power != 0: 12 if unit.find("^") != -1: # if the unit contains a power er^13 toks = re.split( "\^", unit)12 if unit.find("^") != -1: # if the unit contains a power ^ 13 toks = re.split(r"\^", unit) 14 14 if toks[0].find("/") != -1 or \ 15 15 toks[0].find("-") != -1:
Note: See TracChangeset
for help on using the changeset viewer.