Skip to content

Conversation

alex-l-kong
Copy link
Contributor

What is the purpose of this PR?

Closes #846. It's much easier for the user to read pixel_som_cluster as opposed to cluster, pixel_meta_cluster as opposed to metacluster, and pixel_meta_cluster_rename as opposed to mc_name. We had used these as a result of standards Zak used, but these names should be reverted outside of the remapping process.

How did you implement your changes

Any function outside of metacluster_remap_gui needs to use the new standard of column naming. When the mapping is saved after a click event of New metacluster happens, the columns get renamed prior to the save.

@alex-l-kong alex-l-kong self-assigned this Mar 16, 2023
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@alex-l-kong alex-l-kong requested review from ngreenwald, srivarra and camisowers and removed request for ngreenwald March 17, 2023 17:58
@alex-l-kong
Copy link
Contributor Author

The example dataset version will be changed to main just before merging in.

Copy link
Contributor

@srivarra srivarra left a comment

Choose a reason for hiding this comment

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

LGTM!

@camisowers
Copy link
Contributor

camisowers commented Mar 20, 2023

Same, adding the cluster_type arg is easy to follow.

@alex-l-kong alex-l-kong requested a review from ngreenwald March 20, 2023 18:07
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.

Looks good! As long as you made sure both notebooks run without any issues should be good to go.

@alex-l-kong alex-l-kong merged commit ad4e42f into main Mar 20, 2023
@alex-l-kong alex-l-kong deleted the meta_standard_cols branch March 20, 2023 18:40
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.

Standardize column names used in metacluster remapping
4 participants