mantidproject / mslice

Source code for Mantid MSlice
http://mantidproject.github.io/mslice
1 stars 2 forks source link

Ensure filepath in generated script is raw string #936

Closed MialLewis closed 11 months ago

MialLewis commented 12 months ago

Description of work:

This prepends an r to the filepath string in generated scripts to ensure \U is not interpreted as unicode.

To test:

I've struggled to directly test this, as I cannot directly replicate the script that caused the issue. In my case, the generated filepath is separated by / not \.

Regardless, generated a few scripts of cut/slices from clipboard and test.

Fixes #932

robertapplin commented 11 months ago

Should the base be release-next?

MialLewis commented 11 months ago

Should the base be release-next?

We need a bot...