Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion to actually change the TR in the fsf file #274

Open
MoatazAssem opened this issue Aug 10, 2023 · 1 comment
Open

Suggestion to actually change the TR in the fsf file #274

MoatazAssem opened this issue Aug 10, 2023 · 1 comment

Comments

@MoatazAssem
Copy link

log_Msg "MAIN: IMAGE_INFO: TR_vol: ${TR_vol}"

Hi,

I was recently running an analysis for several task runs, each with a different TR. Because this line prints out the TR in the log message, I assumed it also automatically changes it in the fsf file (as is done in other steps like smoothing). However, clearly it doesn't change it. I suggest adding a line to ensure the actual TR extracted from the image file is the one used in the .fsf file.

Something like this should work:
sed -i "s/fmri(tr) [0-9.]*/fmri(tr) ${TR_vol}/" ${FEATDir}/design.fsf

Thanks

Moataz

@glasserm
Copy link
Contributor

Hi Moataz,

I thought we are already doing that, but clearly we are not. I would be happy to accept a tested pull request that does this.

Thanks,

Matt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants