-
Notifications
You must be signed in to change notification settings - Fork 60
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
scil_merge_json move function into module #803
Conversation
Hello @arnaudbore, Thank you for updating ! There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2023-11-17 15:44:24 UTC |
Build passed ! Good Job 🍻 ! |
scripts/scil_merge_json.py
Outdated
return new_dict | ||
|
||
return dict_1 | ||
from scilpy.tractanalysis.json_utils import _merge_dict, _average_dict |
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.
About the names: I was trying to keep the convention that functions with _ are only reused in another function, not called in script. (And I don't add unit tests for these functions).
Are they worth renaming merge_dict and average_dict?
Build passed ! Good Job 🍻 ! |
1 similar comment
Build passed ! Good Job 🍻 ! |
Build passed ! Good Job 🍻 ! |
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.
LGTM.
Next one will be: scil_convert_json_to_xlsx.py
I need some approval about the name of new module and the doc @frheault