Closed satra closed 2 years ago
I will modify the README.
@satra - I tried to test it. it seems that it does not solve the multiple infiles issue if all infiles are in the same folder since we only give one prefix for all infiles.
@Hoda1394 - ah indeed. we need to support using the name of the infile in the prefix and we were trying to avoid detecting what type of file it is to remove the extension. let me do one more thing.
here is a bit of a variant. uses the infile name.
yes, we need to use the infile name. I think, now it works.
@satra - it is not clear to me what should the user enter as the value for the base
? shouldn't it be a flag?
if say the files are at some location /path/to/location/bidsdataset/sub-1/anat/T1.nii.gz
the user could provide --base /path/to/location/bidsdataset/
. this would remove that from the name. perhaps base
is a terrible word for this operation. --stripstr
may be a better keyword.
@Hoda1394 - this should allow using the input name. but the README needs to be improved to indicate how to use this.
i haven't actually tested this.