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
get_data consistence #1283
get_data consistence #1283
Conversation
This looks good to me. @matthew-brett made the comment that it would be preferable to return data, but I think that returning file-names makes sense. It's more transparent for users to see how they would adapt this to their own data, when the file-names are explicitly mentioned. But maybe @matthew-brett has reconsidered this since 2011? 😄 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #1283 +/- ##
=========================================
Coverage ? 87.09%
=========================================
Files ? 228
Lines ? 28749
Branches ? 3088
=========================================
Hits ? 25040
Misses ? 3004
Partials ? 705
Continue to review full report at Codecov.
|
This looks better to me - thanks. I think it's fine to return files, just as long as it's obvious from the docstrings / variable names that that is the case. For example, how about |
Explicit better than implicit (like you said @arokem ) so I agree with @matthew-brett. I prefer @Garyfallidis, any thoughts ? If it is ok for all of you, I can do a new PR with this change. |
You can make that change on this PR in a follow-up commit |
|
Thinking about this a bit more, I prefer `get_fnames`. It's already in the
`dipy.data` namespace.
…On Mon, Jul 3, 2017 at 1:11 PM, Eleftherios Garyfallidis < ***@***.***> wrote:
get_fnames or get_data_fnames is fine for me. When refactoring this
function take your time it is used in many many places.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1283 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAHPNrouMpsFHOCLws2C3wVtAV9pqyHeks5sKUrkgaJpZM4OIeLS>
.
|
2c828ee
to
ccadf10
Compare
Codecov Report
@@ Coverage Diff @@
## master #1283 +/- ##
=========================================
Coverage ? 87.63%
=========================================
Files ? 248
Lines ? 34172
Branches ? 3748
=========================================
Hits ? 29945
Misses ? 3338
Partials ? 889
Continue to review full report at Codecov.
|
ok, I made all the update and replace This old PR is ready to go @arokem @Garyfallidis @matthew-brett. Can you check it? Thank you |
Any thought concerning this PR? |
LGTM. Let's merge it tomorrow, unless there are any objections. |
Thanks! |
The goal of this PR is to resolve an old issue #10 .
Can you have a look @matthew-brett @arokem ?