Closed SilvinaZabalaTravers closed 7 years ago
We find the problem is due to Mac and Linux system. They use difference slash with Windows. We need to find a method to solve the it.
I find the source of these problem is InputFile.filename. We got it by function getPath(). It saves path and name of input file as Stirng (C:\Users\ReaderStudy\Documents\qigong\imrmc_inputfile\test_new1.imrmc). We used "filename.lastIndexOf("\")" function to separate it to path and name. But in Linux and Mac InputFile.filename will be (C:/Users/ReaderStudy/Documents/qigong/imrmc_inputfile/test_new1.imrmc.) Then we can't separate path and name by "filename.lastIndexOf("\")" function.
I think there are 2 methods to solve this problem
I subscribe to the following: "Rather than keeping everything string-based, you should use a class which is designed to represent a file system path."
Could we close it?
Sure, thank you. Silvina
On Tue, Oct 4, 2016 at 11:05 AM Qi Gong notifications@github.com wrote:
Could we close it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DIDSR/iMRMC/issues/96#issuecomment-251415680, or mute the thread https://github.com/notifications/unsubscribe-auth/AOokKXi3rnUsHwZx0PRDlUS6sbqCfXshks5qwmsegaJpZM4IMBOt .
Silvina Zabala Travers, MD Radiology resident - UdelaR. +1 787 239 5834
- 598 99 382 992
Works for me. Nice job. I'm closing this issue.
Hi! Just a minor issue. The second time you use 'Save to file', while analyzing the same imrmc file, the 'save' directory changes and instead of exporting to the last one used or where the current analyzed imrmc file is, it returns to the root.