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

Refactor synthetic_spatial_datagen #239

Merged
merged 3 commits into from
Sep 25, 2020
Merged

Refactor synthetic_spatial_datagen #239

merged 3 commits into from
Sep 25, 2020

Conversation

alex-l-kong
Copy link
Contributor

What is the purpose of this PR?

A mini PR to address and close #189.

How did you implement your changes

Dramatically reduce and shorten the comments and function names in synthetic_spatial_datagen, and by extension, signal_extraction.

@alex-l-kong alex-l-kong self-assigned this Sep 24, 2020
Copy link
Member

@ngreenwald ngreenwald left a comment

Choose a reason for hiding this comment

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

Wow, you really Marie-Kondo'd these files. Awesome stuff.

@@ -31,7 +30,7 @@ def center_weighting_extraction(cell_coords, image_data, centroid):
center.

Improves upon default extraction by including a level of certainty/uncertainty.
Note: cell_coords and centroid are computed from regionprops prior to calling the function
cell_coords and centroid are computed from regionprops prior to calling the function
Copy link
Member

Choose a reason for hiding this comment

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

I think we can just delete this line completely

@alex-l-kong alex-l-kong merged commit 84b9e1c into master Sep 25, 2020
@alex-l-kong alex-l-kong deleted the syn_data_clean branch September 25, 2020 02:41
alex-l-kong added a commit that referenced this pull request Jan 14, 2021
y2kbugger pushed a commit that referenced this pull request Jul 29, 2021
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.

Code cleanup for synthetic_spatial_datagen
2 participants