You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow custom templates via indexing arbitrary paths.
EDITED
Instead of complicated operations and symlinks, add some kind of install(custom_path, template_id) method to the API, so that the user can insert their templates into the TEMPLATEFLOW_HOME folder.
Then, the names are checked with PyBIDS, and all the NIfTI files are "sanitized" with the appropriate orientation and data types.
We also need to be careful with the update() method, and make sure that these templates are never deleted, even after update(local=False, overwrite=True)
This will be useful in the context of fMRIPrep, as now we will be able to either:
Ask the user to install the template before running fmriprep (which could use of a command line utility)
Add a flag pointing to the path.
The text was updated successfully, but these errors were encountered:
Allow custom templates via indexing arbitrary paths.EDITED
Instead of complicated operations and symlinks, add some kind of
install(custom_path, template_id)
method to the API, so that the user can insert their templates into the TEMPLATEFLOW_HOME folder.Then, the names are checked with PyBIDS, and all the NIfTI files are "sanitized" with the appropriate orientation and data types.
We also need to be careful with the
update()
method, and make sure that these templates are never deleted, even afterupdate(local=False, overwrite=True)
This will be useful in the context of fMRIPrep, as now we will be able to either:
The text was updated successfully, but these errors were encountered: