Skip to content

Commit

Permalink
Add red, green, blue, and gray to the color table
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Sep 14, 2023
1 parent 14a438c commit 3f43976
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default Vue.extend({
{id: 2, name: 'Channel Compositing'}
);
}
if (this.metadata.bandCount > 1) {
if (this.metadata.bandCount) {
this.sliderModes.push(
{id: 3, name: 'Band Compositing'}
);
Expand Down
6 changes: 5 additions & 1 deletion girder/girder_large_image/web_client/vue/utils/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ export const CHANNEL_COLORS = {
'^CY3(|[^\d].*)$': '#FF8000', // eslint-disable-line
'^CY5(|[^\d].*)$': '#FF00FF', // eslint-disable-line
'^YFP.*$': '#00FF00',
'^GFP.*$': '#00FF00'
'^GFP.*$': '#00FF00',
'^red$': '#FF0000',
'^green$': '#00FF00',
'^blue$': '#0000FF',
'^gr[ae]y(|scale)$': '#FFFFFF',
};

export const OTHER_COLORS = [
Expand Down

0 comments on commit 3f43976

Please sign in to comment.