-
Notifications
You must be signed in to change notification settings - Fork 90
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
PHysIO #180 #166: Removing fieldtrip paths instead of spm #181
base: development
Are you sure you want to change the base?
PHysIO #180 #166: Removing fieldtrip paths instead of spm #181
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear Nikita,
Thank you for suggesting these changes. I made two comments to your implementation, hope you can see them.
Furthermore, could you please also add a version of the Contributor License Agreement file to this pull request that has a table row with your name and info inserted. I have explained the rationale for that here and here.
You might want to wait a few days with that (so that you don't have to do it twice), because we're just in the process of finalizing a release, and it's probably easier to start from the new version.
All the best, and looking forward to your changes,
Lars
It's not urgent, tell me when it could be merged. |
Hi Lars, as requested a ping after the new release) In current version, the fieldtrip paths are removed with message:
Second message appears only with verbosity >= 3. About the reported conflict, the only revelant part of conflict is addpath: % Include subfolders of code to path as well
pathThis = fileparts(mfilename('fullpath'));
addpath(genpath(pathThis)); For me it should be done during installation of PhysIO, and crosschecked in tapas_physio_init.m And the matlabbatch check is not important: if For me, the full Tell me, further modifications are required. |
Dear Nikita, My apologies, but I didn't have time to include your PR into the upcoming TAPAS release. I am working with a student on a summer project to improve PhysIO, but it will take a couple of weeks to overhaul everything. I will let you know, once we integrate your PR. All the best, |
Hi,
I was looking into bypassing issues #180 and #166,
and found that
PhysIO
already tries to remove sub-directories of spm, but, probably due to outdated version it doesn't work on my installation (my FirledTrip don't haveft_check_path
).In this pull request, I replace
ft_check_path
byft_defaults
, which is setting paths function,which exists since 2010, andI remove paths related to all installations of fieldtrip:
After execution, the original paths are restored.
Alternative, is to remove all paths, using
restoredefaultpaths
, to inshure that PhysIO will run only on bare matlab.I also added an otherwise with error in switch for the list of vendors.