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

scil_merge_json move function into module #803

Merged
merged 5 commits into from
Nov 17, 2023

Conversation

arnaudbore
Copy link
Contributor

Next one will be: scil_convert_json_to_xlsx.py

I need some approval about the name of new module and the doc @frheault

@pep8speaks
Copy link

pep8speaks commented Nov 3, 2023

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

@arnaudbore
Copy link
Contributor Author

Build passed ! Good Job 🍻 !

return new_dict

return dict_1
from scilpy.tractanalysis.json_utils import _merge_dict, _average_dict
Copy link
Contributor

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?

@arnaudbore
Copy link
Contributor Author

Build passed ! Good Job 🍻 !

1 similar comment
@arnaudbore
Copy link
Contributor Author

Build passed ! Good Job 🍻 !

@arnaudbore
Copy link
Contributor Author

Build passed ! Good Job 🍻 !

Copy link
Contributor

@EmmaRenauld EmmaRenauld left a comment

Choose a reason for hiding this comment

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

LGTM.

@arnaudbore arnaudbore merged commit 7090a76 into scilus:master Nov 17, 2023
@arnaudbore arnaudbore deleted the scil_merge_json branch January 30, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants