His PR didn't fully address the metadata issue because we use metadata.maxMaxIC to generate the color scale for "Uniqueness" calculation. Other three calculation methods don't rely this metadata. So I updated the check to this detail.
Also inspected the color scale creation functionalities and added comments.
I'll just go ahead and merge this PR since there's no other changes.
@harryhoch FYI, this PR follows Kent's PR: https://github.com/monarch-initiative/monarch-app/pull/1066
His PR didn't fully address the
metadata
issue because we usemetadata.maxMaxIC
to generate the color scale for "Uniqueness" calculation. Other three calculation methods don't rely thismetadata
. So I updated the check to this detail.Also inspected the color scale creation functionalities and added comments.
I'll just go ahead and merge this PR since there's no other changes.