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

Increase inclusion tolerance for pAF; add suffix for cmd_outputs #921

Merged
merged 2 commits into from
Nov 11, 2022

Conversation

36000
Copy link
Collaborator

@36000 36000 commented Oct 29, 2022

also adds suffix for cmd_outputs

Copy link
Collaborator

@arokem arokem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how this feature would be used, so maybe adding an example might help.

@@ -510,9 +511,12 @@ def cmd_outputs(self, cmd="rm", dependent_on=None, exceptions=[]):
exceptions : list of str
Name outputs that the command should not be applied to.
Default: []
suffix : str
Parts of command that are used after the filename.
Default: ""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be good to provide an example here.

@@ -258,6 +258,7 @@ def _gen(self, bundle_name):
roi_dict['space'] = 'template'
roi_dict['start'] = self.templates[bundle_name + "_start"]
roi_dict['end'] = self.templates[bundle_name + "_end"]
roi_dict["inc_addtol"] = [4, 0]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this used?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only other place I found inc_addtol in our code base is here:

bundle_dict["ARC_R"]["inc_addtol"] = [3, 3]

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is in fact here: https://github.com/yeatmanlab/pyAFQ/blob/master/AFQ/segmentation.py#L485-L489.

Should also go into bundle_dict.rst documentation.

@36000 36000 changed the title [WIP] More pAF / VOF fixes Increase inclusion tolerance for pAF; add suffix for cmd_outputs Nov 10, 2022
@36000
Copy link
Collaborator Author

36000 commented Nov 10, 2022

@arokem ready for review / merge

@arokem arokem merged commit 14315a3 into yeatmanlab:master Nov 11, 2022
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

Successfully merging this pull request may close these issues.

2 participants