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

BF: Trying to fix test failures. #46

Closed
wants to merge 2 commits into from

Conversation

arokem
Copy link
Contributor

@arokem arokem commented Jul 10, 2012

Let's fix our test failures

@@ -185,7 +185,7 @@ def fit(self, data, mask=None, return_odf=False, gfa_thr=0.02,
global_max = max(global_max, odf.max())
continue
pk, ind = local_maxima(odf, self.odf_edges)
pk, ind = _filter_peaks(pk, ind,
pk, ind = remove_similar_vertices(pk, ind,
Copy link
Contributor

Choose a reason for hiding this comment

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

These functions do things very differently, so I doubt a simple substitution will do the trick

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. What's a good way forward here?

I don't know this code well, so I am really asking where we should
pulling the thread, to unspool this ball of yarn.

On Tue, Jul 10, 2012 at 1:57 PM, Stefan van der Walt
reply@reply.github.com
wrote:

@@ -185,7 +185,7 @@ def fit(self, data, mask=None, return_odf=False, gfa_thr=0.02,
global_max = max(global_max, odf.max())
continue
pk, ind = local_maxima(odf, self.odf_edges)

  •            pk, ind = _filter_peaks(pk, ind,
    
  •            pk, ind = remove_similar_vertices(pk, ind,
    

These functions do things very differently, so I doubt a simple substitution will do the trick


Reply to this email directly or view it on GitHub:
https://github.com/nipy/dipy/pull/46/files#r1135467

@Garyfallidis
Copy link
Contributor

I think @MrBago should give some pointers here. Yesterday, he said that he will have a look again on how _filter_peaks differs from remove_similar_peaks.

@MrBago MrBago closed this Aug 13, 2012
frheault pushed a commit to frheault/dipy that referenced this pull request Apr 2, 2016
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.

None yet

4 participants