You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FrameworkIssues and pull requests related to components in the FrameworkStaleThis label is automatically applied to issues that are automatically closed by the stale bot
Windows specific due to the use of backslash.
\x is used as example below but any character that is considered special if within a string with '' before it will be a problem.
When mantid is reading in files using python, where the path name contains \x (e.g \xxu\datafiles...) in some circumstances it appears to to read it as a special escape character and throw a 'ValueError: invalid \x escape' error.
NickDraper
changed the title
Problems with python reading in file paths containing python escape characters
SNS powder reduction Problems with python reading in file paths containing python escape characters
Feb 18, 2016
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you feel this is incorrect please comment to keep it alive, with a reason why.
To prevent closure, e.g. for long-term planning issues, add the "Never Stale" label.
stalebot
added
the
Stale
This label is automatically applied to issues that are automatically closed by the stale bot
label
Feb 23, 2021
FrameworkIssues and pull requests related to components in the FrameworkStaleThis label is automatically applied to issues that are automatically closed by the stale bot
This issue was originally TRAC 10751
Windows specific due to the use of backslash.
\x is used as example below but any character that is considered special if within a string with '' before it will be a problem.
When mantid is reading in files using python, where the path name contains \x (e.g \xxu\datafiles...) in some circumstances it appears to to read it as a special escape character and throw a 'ValueError: invalid \x escape' error.
To replicate:
Put data in a folder which at some point in it's file path has an \x. Follow http://www.mantidproject.org/PowderDiffractionReduction using the data from that folder.
The text was updated successfully, but these errors were encountered: