james-cole / brainageR

Software for generating a brain-predicted age value, using Gaussian Processes regression, implemented in R
GNU Lesser General Public License v3.0
74 stars 26 forks source link

brainageR command not found #10

Closed nicky9468 closed 1 year ago

nicky9468 commented 1 year ago

Hi,

I'm a beginner at working with codes and commands. I've tried to follow the instructions to set up brainageR, by making the directories, cloning the repository, downloading the 3 .rds files and editing the paths in the brainageR script. However, the terminal is still unable to recognise brainageR as a command.

Refer to images below for the path references: brainageR_dir=/home/nicky155/Documents/brainageR/software/ spm_dir=/home/nicky155/Documents/MRI/SPM12/ matlab_path=/usr/local/MATLAB/R2023a/bin/matlab FSLDIR=/home/nicky155/fsl/

image

image

image

image

james-cole commented 1 year ago

Hi Nicky,

Thanks for your interest in brainageR. What error message are you getting exactly?

Is /home/nicky155/Documents/brainageR/software/ in your path (i.e., $PATH)? You might need to ‘source’ your bashrc or similar user profile file again, or log out and back in again.

Best wishes, James

From: nicky9468 @.> Date: Monday, 12 June 2023 at 2:56 pm To: james-cole/brainageR @.> Cc: Subscribed @.***> Subject: [james-cole/brainageR] brainageR command not found (Issue #10)

⚠ Caution: External sender

Hi,

I'm a beginner at working with codes and commands. I've tried to follow the instructions to set up brainageR, by making the directories, cloning the repository, downloading the 3 .rds files and editing the paths in the brainageR script. However, the terminal is still unable to recognise brainageR as a command.

Refer to images below for the path references: brainageR_dir=/home/nicky155/Documents/brainageR/software/ spm_dir=/home/nicky155/Documents/MRI/SPM12/ matlab_path=/usr/local/MATLAB/R2023a/bin/matlab FSLDIR=/home/nicky155/fsl/

[image]https://user-images.githubusercontent.com/110340502/245163582-29e7dc82-56fb-411b-b82a-ed599c4d359e.png

[image]https://user-images.githubusercontent.com/110340502/245162884-bdde9b05-1802-4ddb-a1fc-2d2bad2ed9cf.png

[image]https://user-images.githubusercontent.com/110340502/245163208-42bc0a8b-b545-4399-960b-58d406bd879a.png

[image]https://user-images.githubusercontent.com/110340502/245163299-c16b65ad-771c-44bc-bf05-c1233aea27c0.png

— Reply to this email directly, view it on GitHubhttps://github.com/james-cole/brainageR/issues/10, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACCUV6CCNV3WFAYAPKSFJP3XK4NYJANCNFSM6AAAAAAZDNPYU4. You are receiving this because you are subscribed to this thread.Message ID: @.***>

nicky9468 commented 1 year ago

Hi James,

Thanks, I just needed to set up the $PATH for the brainageR script and it worked perfectly.

Best regards, Nick