Closed james-cole closed 2 years ago
Thanks for the quick fix, confirmed working on a fresh install, much appreciated.
Good Afternoon, Does "realpath" also work on Windows machine? Thanks!
Hi - sorry I'm not actually sure about realpath on Windows. It would depend on which terminal environment you're using. If you can provide more details about your set up I can try to help.
Good Morning James,
I hope this email finds you well. Thank you for getting back to me! I was actually able to set the code up on my Ubuntu computer and have everything working in place of using my Windows.
Best, Natalie
On Tue, Aug 29, 2023 at 4:53 AM James Cole @.***> wrote:
Hi - sorry I'm not actually sure about realpath on Windows. It would depend on which terminal environment you're using. If you can provide more details about your set up I can try to help.
— Reply to this email directly, view it on GitHub https://github.com/james-cole/brainageR/issues/2#issuecomment-1697033771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHB6JOSARHN5DCGULJQG2STXXWUZ7ANCNFSM4KFISSRA . You are receiving this because you commented.Message ID: @.***>
Great!
Turns out readlink on Mac doesn't have a -f option. There are several work-arounds for this for Mac users (it's not an issue for 'nix). The most simple is to edit the brainageR script and use 'realpath' instead of 'readlink'. Alternatively you can install the GNU coreutils package and get the correct version of readlink for your system.