SCIInstitute / ShapeWorks

ShapeWorks
http://sciinstitute.github.io/ShapeWorks/
Other
101 stars 32 forks source link

Windows command line shapeworks groom cycle error #2165

Open dcwhite opened 7 months ago

dcwhite commented 7 months ago

The error is [error] Unable to create groom output directory: "./groomed"

it comes from this line: https://github.com/SCIInstitute/ShapeWorks/blob/6b02d9707adbc66ea1e9f3c8655043e541c42940/Libs/Groom/Groom.cpp#L657 which swallows the specific boost exception.

I'm running groom within a temporary directory, on a couple files stored there, the command was: ./shapeworks groom --name=C:\\Users\\Dan\\AppData\\Local\\Temp\\Slicer\\ShapeworksRunner\\20231116_120709_257\\shapeworksProject.swproj

I attached the input files. It appears to be a platform-specific bug to Windows, this works on Mac fine--Windows is having trouble creating a directory using ./. It all works fine running Studio, since the project file is already saved there, so the code stores the correct-for-Windows relative, \\-delimited path.

20231116_120709_257.zip