Skip to content

How to name the input files #5

@venkatbits

Description

@venkatbits

Hi

I am trying to use anat2vessels code
when running data preprocessing step I am getting the following error
python preprocess_imgs.py --t1_dir /home/bits/Desktop/anat2vessels-main/n794/t1w --t2_dir /home/bits/Desktop/anat2vessels-main/n794/t2w --output_dir /home/bits/Desktop/anat2vessels-main/n794/preprocessed --id_delim "_"
File "preprocess_imgs.py", line 74
file_name = f'{subid}_0000.nii.gz'
^
SyntaxError: invalid syntax

I have the folder home/bits/Desktop/anat2vessels-main/n794/ inside which I have kept my t1w and t2w files as t1w.nii.gz and t2.nii.gz what am I doing wrong here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions