-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cleanup the get_regionprops_measurements() function in feature_wrapper.py #59
Comments
We could split it up into 3 functions: 1 for calculating positions: gliberal-scMultipleX/src/scmultiplex/features/feature_wrapper.py Lines 108 to 122 in c564c54
1 for the morphology calculations: gliberal-scMultipleX/src/scmultiplex/features/feature_wrapper.py Lines 124 to 185 in c564c54
and 1 for the intensity calculations: gliberal-scMultipleX/src/scmultiplex/features/feature_wrapper.py Lines 187 to 227 in c564c54
Each function then returns one dictionary with updates and the main function just calls them & updates the dictionaries. |
Each of those functions could just take the |
Do you want to tackle this @enricotagliavini or shall I have a go at it (as described above) while working on the Fractal task part? |
This function has a lot of branching and it start being hard to read. Let's make it nicer and easier to read.
The text was updated successfully, but these errors were encountered: