Opened 4 years ago

Closed 4 years ago

#5551 closed defect (duplicate)

unhashable type: 'Color'

Reported by: jglavina@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc: pett
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-5.11.0-38-generic-x86_64-with-glibc2.31
ChimeraX Version: 1.3.dev202109060834 (2021-09-06 08:34:57 UTC)
Description
TypeError: unhashable type: 'Color'
when Using this command:
mlp #1/A key true palette -20,dodgerblue:0,white:20,orangered
It works when Using this command:
mlp #1/A key true palette -20,blue:0,white:20,red

Log:
UCSF ChimeraX version: 1.3.dev202109060834 (2021-09-06)  
© 2016-2021 Regents of the University of California. All rights reserved.  

> open
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/Vertebrata.cxs

Log from Thu Nov 4 14:08:58 2021UCSF ChimeraX version: 1.3.dev202109060834
(2021-09-06)  
© 2016-2021 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open
> /home/juliana/Documents/PROYECTO_RB/data/estructuras/AF-P06400-F1-model_v1_PoketDomain.pdb

Summary of feedback from opening
/home/juliana/Documents/PROYECTO_RB/data/estructuras/AF-P06400-F1-model_v1_PoketDomain.pdb  
---  
warnings | Start residue of secondary structure not found: HELIX 1 1 PHE A 49
GLU A 51 1 3  
Start residue of secondary structure not found: HELIX 2 2 PRO A 55 LYS A 63 1
9  
Start residue of secondary structure not found: HELIX 3 3 ASP A 68 SER A 82 1
15  
Start residue of secondary structure not found: HELIX 4 4 VAL A 87 LYS A 94 1
8  
Start residue of secondary structure not found: HELIX 5 5 LYS A 95 ASP A 109 1
15  
25 messages similar to the above omitted  
  
AF-P06400-F1-model_v1_PoketDomain.pdb title:  
Alphafold V2.0 prediction for retinoblastoma-associated protein (P06400) [more
info...]  
  
Chain information for AF-P06400-F1-model_v1_PoketDomain.pdb #1  
---  
Chain | Description | UniProt  
A | retinoblastoma-associated protein | RB_HUMAN  
  

> open
> /home/juliana/Documents/PROYECTO_RB/data/alineamientos/20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta

Summary of feedback from opening
/home/juliana/Documents/PROYECTO_RB/data/alineamientos/20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  
---  
notes | Alignment identifier is
20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928 with 0 mismatches  
Showing conservation header ("seq_conservation" residue attribute) for
alignment 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  
  
Opened 118 sequences from
20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  

> sequence associate /A
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta:1

Disassociated AF-P06400-F1-model_v1_PoketDomain.pdb chain A from
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to sp|P06400|RB_HUMAN
with 0 mismatches  

> sequence associate /A
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta

Disassociated AF-P06400-F1-model_v1_PoketDomain.pdb chain A from
sp|P06400|RB_HUMAN  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928 with 0 mismatches  

> sequence associate /A
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta:1

Disassociated AF-P06400-F1-model_v1_PoketDomain.pdb chain A from
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to sp|P06400|RB_HUMAN
with 0 mismatches  

> sequence viewer
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta scfLoad
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/ConSurf_AF_P06400_F1_model_v1_PoketDomain_pdb_RUN_1636043549_isd.scf
> color True

> open 1gux

1gux title:  
Rb pocket bound to E7 lxcxe motif [more info...]  
  
Chain information for 1gux #2  
---  
Chain | Description | UniProt  
A | retinoblastoma protein | RB_HUMAN  
B | retinoblastoma protein | RB_HUMAN  
E | oncoprotein |  
  

> ui tool show Matchmaker

> matchmaker #!2 to #1

Parameters  
---  
Chain pairing | bb  
Alignment algorithm | Needleman-Wunsch  
Similarity matrix | BLOSUM-62  
SS fraction | 0.3  
Gap open (HH/SS/other) | 18/18/6  
Gap extend | 1  
SS matrix |  |  | H | S | O  
---|---|---|---  
H | 6 | -9 | -6  
S |  | 6 | -6  
O |  |  | 4  
Iteration cutoff | 2  
  
Matchmaker AF-P06400-F1-model_v1_PoketDomain.pdb, chain A (#1) with 1gux,
chain A (#2), sequence alignment score = 1038  
RMSD between 159 pruned atom pairs is 0.567 angstroms; (across all 177 pairs:
1.633)  
  

> open 2r7g

2r7g title:  
Structure of the retinoblastoma protein pocket domain in complex with
adenovirus E1A CR1 domain [more info...]  
  
Chain information for 2r7g #3  
---  
Chain | Description | UniProt  
A C | Retinoblastoma-associated protein | RB_HUMAN  
B D E | Early E1A 32 kDa protein | E1A_ADE05  
  
Non-standard residues in 2r7g #3  
---  
SO4 — sulfate ion  
  

> select #3

6267 atoms, 5900 bonds, 4 pseudobonds, 1186 residues, 2 models selected  

> style #3 ribbon

Expected a keyword  

> style #3 cartoon

Expected a keyword  

> ~ball

Unknown command: ~ball  

> ~ball

Unknown command: ~ball  

> style #3 cartoon

Expected a keyword  

> help style

> cartoon #3

> hide solvent

> ~display

> ~select

Nothing selected  

> ui tool show Matchmaker

> matchmaker #!2-3 to #1

Parameters  
---  
Chain pairing | bb  
Alignment algorithm | Needleman-Wunsch  
Similarity matrix | BLOSUM-62  
SS fraction | 0.3  
Gap open (HH/SS/other) | 18/18/6  
Gap extend | 1  
SS matrix |  |  | H | S | O  
---|---|---|---  
H | 6 | -9 | -6  
S |  | 6 | -6  
O |  |  | 4  
Iteration cutoff | 2  
  
Matchmaker AF-P06400-F1-model_v1_PoketDomain.pdb, chain A (#1) with 1gux,
chain A (#2), sequence alignment score = 1038  
RMSD between 159 pruned atom pairs is 0.567 angstroms; (across all 177 pairs:
1.633)  
  
Matchmaker AF-P06400-F1-model_v1_PoketDomain.pdb, chain A (#1) with 2r7g,
chain C (#3), sequence alignment score = 1684.4  
RMSD between 309 pruned atom pairs is 0.884 angstroms; (across all 337 pairs:
1.761)  
  

> ~cartoon #3/A

> ~cartoon #3/B

> ~cartoon #3/E

> info #2

2 models  
#2, 1gux, shown  
3097 atoms, 2763 bonds, 715 residues, 3 chains (A,B,E)  
2 missing structure  
#2.1, missing structure, shown, 2 pseudobonds  

> cartoon #2/E

> ~cartoon #2/B

> ~cartoon #2/A

> ~cartoon #3/A

> ~cartoon #3/C

> ~cartoon #1

> cartoon #1/A

> ~cartoon #1/A

> cartoon #1/A:380-577,645-785

> color #3/D orange

> color #2/E orange

> cartoon #2/E style strand arrows false

Expected a keyword  

> help "cartoon style"

No help found for '"cartoon style"'  

> help cartoon

> cartoon style #2/E arrows false

> cartoon style #2/E arrows false width 0.4 thickness 0.4 xsection oval

> cartoon style #3/D width 0.4 thickness 0.4 xsection oval

> surface #1/A:380-577,645-785

> ~surface #1/A:380-577,645-785

> ui tool show "Color Actions"

> save
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/Vertebrata.cxs

——— End of log from Thu Nov 4 14:08:58 2021 ———

opened ChimeraX session  

> sequence viewer
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta scfLoad
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/ConSurf_AF_P06400_F1_model_v1_PoketDomain_pdb_RUN_1636043549.scf
> color True

> open
> /home/juliana/Documents/PROYECTO_RB/data/alineamientos/HighConfidence/20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut_Sel.fasta

Summary of feedback from opening
/home/juliana/Documents/PROYECTO_RB/data/alineamientos/HighConfidence/20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut_Sel.fasta  
---  
notes | Alignment identifier is
20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut_Sel.fasta  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928 with 0 mismatches  
Showing conservation header ("seq_conservation" residue attribute) for
alignment 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut_Sel.fasta  
  
Opened 14 sequences from
20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut_Sel.fasta  

> sequence associate #1/A
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut_Sel.fasta:1

Disassociated AF-P06400-F1-model_v1_PoketDomain.pdb chain A from
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to sp|P06400|RB_HUMAN
with 0 mismatches  

> sequence viewer
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut_Sel.fasta scfLoad
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/ConSurf_AF_P06400_F1_model_v1_PoketDomain_pdb_RUN_1636043549.scf
> color True

> bgcolor white

Unknown command: bgcolor white  

> set bgColor white

> surface #1

> color fromatoms

> ~surface

> info #1

2 models  
#1, AF-P06400-F1-model_v1_PoketDomain.pdb, shown  
3297 atoms, 3363 bonds, 406 residues, 1 chains (A)  
#1.1, AF-P06400-F1-model_v1_PoketDomain.pdb_A SES surface, shown, 400232
triangles  

> surface #2

> surface #1

> ~surface #1

> ~surface

> name pocket #1/A:380-577,645-785

> surfacepocket

Unknown command: surfacepocket  

> surface pocket

> surface enclose pocket

> color #1.1 fromatoms

> save
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/Vertebrata_Surf.cxs

> help rotate

No help found for 'rotate'  

> help rota

No help found for 'rota'  

> turn

[Repeated 1 time(s)]

> ui tool show "Show Sequence Viewer"

> open
> /home/juliana/Documents/PROYECTO_RB/data/alineamientos/HighConfidence/20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta

Summary of feedback from opening
/home/juliana/Documents/PROYECTO_RB/data/alineamientos/HighConfidence/20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  
---  
notes | Alignment identifier is
20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928 with 0 mismatches  
Showing conservation header ("seq_conservation" residue attribute) for
alignment 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  
  
Opened 118 sequences from
20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta  

> sequence associate #1/A
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta:1

Disassociated AF-P06400-F1-model_v1_PoketDomain.pdb chain A from
Chimpanzee_(Pan_troglodytes)|Primates|ENSPTRP00000009974_Ptro/1-928
ENSPTRP00000009974_Ptro/1-928  
Associated AF-P06400-F1-model_v1_PoketDomain.pdb chain A to sp|P06400|RB_HUMAN
with 0 mismatches  

> sequence viewer
> 20211102_HighConfidence_RbHuman_PocketDomain_cleaned_cut.fasta scfLoad
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/ConSurf_AF_P06400_F1_model_v1_PoketDomain_pdb_RUN_1636043549.scf
> color True

> save
> /home/juliana/Documents/PROYECTO_RB/consurf/Consurf_Outputs_1636043549_Vertebrata_AlphaFold/Vertebrata_Surf_Lipophylic.cxs

> mlp #1

Map values for surface "AF-P06400-F1-model_v1_PoketDomain.pdb_A SES surface":
minimum -27.63, mean -5.355, maximum 22.11  

> mlp #1 key true pallette -20,dogerblue:0,white:20,orangered

Expected a keyword  

> mlp #1 key true pallette -20,dodgerblue:0,white:20,orangered

Expected a keyword  

> mlp #1/A key true palette -20,dodgerblue:0,white:20,orangered

Map values for surface "AF-P06400-F1-model_v1_PoketDomain.pdb_A SES surface":
minimum -27.63, mean -5.355, maximum 22.11  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/cmd_line/tool.py", line 297, in execute  
cmd.run(cmd_text)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/commands/cli.py", line 2856, in run  
result = ci.function(session, **kw_args)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/mlp/mlp.py", line 92, in mlp  
show_key(session, cmap)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in show_key  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in <listcomp>  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in color_name  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in <dictcomp>  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
TypeError: unhashable type: 'Color'  
  
TypeError: unhashable type: 'Color'  
  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
  
See log for complete Python traceback.  
  

> mlp #1/A key true palette -20,blue:0,white:20,red

Map values for surface "AF-P06400-F1-model_v1_PoketDomain.pdb_A SES surface":
minimum -27.63, mean -5.355, maximum 22.11  

> key blue-white-red :-20 :0 :20 showTool true

> ui mousemode left "color key"

> key pos 0.749298,0.107792 size 0,0

[Repeated 1 time(s)]

> key pos 0.647334,0.0779221 size 0.289991,0.0220779

> ui mousemode left rotate

> mlp #1/A key true palette -20,dodgerblue:0,white:20,red

Map values for surface "AF-P06400-F1-model_v1_PoketDomain.pdb_A SES surface":
minimum -27.63, mean -5.355, maximum 22.11  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/cmd_line/tool.py", line 297, in execute  
cmd.run(cmd_text)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/commands/cli.py", line 2856, in run  
result = ci.function(session, **kw_args)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/mlp/mlp.py", line 92, in mlp  
show_key(session, cmap)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in show_key  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in <listcomp>  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in color_name  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in <dictcomp>  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
TypeError: unhashable type: 'Color'  
  
TypeError: unhashable type: 'Color'  
  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
  
See log for complete Python traceback.  
  

> mlp #1/A key true palette -20,dodgeblue:0,white:20,red

Invalid "palette" argument: Invalid color name or specifier  

> mlp #1/A key true palette -20,blue:0,white:20,orangered

Map values for surface "AF-P06400-F1-model_v1_PoketDomain.pdb_A SES surface":
minimum -27.63, mean -5.355, maximum 22.11  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/cmd_line/tool.py", line 297, in execute  
cmd.run(cmd_text)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/commands/cli.py", line 2856, in run  
result = ci.function(session, **kw_args)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/mlp/mlp.py", line 92, in mlp  
show_key(session, cmap)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in show_key  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in <listcomp>  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in color_name  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in <dictcomp>  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
TypeError: unhashable type: 'Color'  
  
TypeError: unhashable type: 'Color'  
  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
  
See log for complete Python traceback.  
  

> listinfo colors

> info colors

Expected a models specifier or a keyword  

> color list

No custom colors.  
248 builtin colors: alice blue

, aliceblue

, antique white

, antiquewhite

, aqua

, aquamarine

, azure

, beige

, bisque

, black

, blanched almond

, blanchedalmond

, blue

, blue violet

, blueviolet

, brown

, burly wood

, burlywood

, cadet blue

, cadetblue

, chartreuse

, chocolate

, coral

, cornflower blue

, cornflowerblue

, cornsilk

, crimson

, cyan

, dark blue

, dark cyan

, dark goldenrod

, dark gray

, dark green

, dark grey

, dark khaki

, dark magenta

, dark olive green

, dark orange

, dark orchid

, dark red

, dark salmon

, dark sea green

, dark seagreen

, dark slate blue

, dark slate gray

, dark slate grey

, dark turquoise

, dark violet

, darkblue

, darkcyan

, darkgoldenrod

, darkgray

, darkgreen

, darkgrey

, darkkhaki

, darkmagenta

, darkolivegreen

, darkorange

, darkorchid

, darkred

, darksalmon

, darkseagreen

, darkslateblue

, darkslategray

, darkslategrey

, darkturquoise

, darkviolet

, deep pink

, deep sky blue

, deep skyblue

, deeppink

, deepskyblue

, dim gray

, dim grey

, dimgray

, dimgrey

, dodger blue

, dodgerblue

, fire brick

, firebrick

, floral white

, floralwhite

, forest green

, forestgreen

, fuchsia

, gainsboro

, ghost white

, ghostwhite

, gold

, goldenrod

, gray

, green

, green yellow

, greenyellow

, grey

, honeydew

, hot pink

, hotpink

, indian red

, indianred

, indigo

, ivory

, khaki

, lavender

, lavender blush

, lavenderblush

, lawn green

, lawngreen

, lemon chiffon

, lemonchiffon

, light blue

, light coral

, light cyan

, light goldenrod yellow

, light gray

, light green

, light grey

, light pink

, light salmon

, light sea green

, light seagreen

, light sky blue

, light skyblue

, light slate gray

, light slate grey

, light steel blue

, light yellow

, lightblue

, lightcoral

, lightcyan

, lightgoldenrodyellow

, lightgray

, lightgreen

, lightgrey

, lightpink

, lightsalmon

, lightseagreen

, lightskyblue

, lightslategray

, lightslategrey

, lightsteelblue

, lightyellow

, lime

, lime green

, limegreen

, linen

, magenta

, maroon

, medium aquamarine

, medium blue

, medium orchid

, medium purple

, medium sea green

, medium seagreen

, medium slate blue

, medium spring green

, medium turquoise

, medium violet red

, mediumaquamarine

, mediumblue

, mediumorchid

, mediumpurple

, mediumseagreen

, mediumslateblue

, mediumspringgreen

, mediumturquoise

, mediumvioletred

, midnight blue

, midnightblue

, mint cream

, mintcream

, misty rose

, mistyrose

, moccasin

, navajo white

, navajowhite

, navy

, old lace

, oldlace

, olive

, olive drab

, olivedrab

, orange

, orange red

, orangered

, orchid

, pale goldenrod

, pale green

, pale turquoise

, pale violet red

, palegoldenrod

, palegreen

, paleturquoise

, palevioletred

, papaya whip

, papayawhip

, peach puff

, peachpuff

, peru

, pink

, plum

, powder blue

, powderblue

, purple

, rebecca purple

, rebeccapurple

, red

, rosy brown

, rosybrown

, royal blue

, royalblue

, saddle brown

, saddlebrown

, salmon

, sandy brown

, sandybrown

, sea green

, seagreen

, seashell

, sienna

, silver

, sky blue

, skyblue

, slate blue

, slate gray

, slate grey

, slateblue

, slategray

, slategrey

, snow

, spring green

, springgreen

, steel blue

, steelblue

, tan

, teal

, thistle

, tomato

, transparent

, turquoise

, violet

, wheat

, white

, white smoke

, whitesmoke

, yellow

, yellow green

, and yellowgreen

.  
Fetching compressed palette -20,"dodger from
http://www.colourlovers.com/api/palettes?keywords=-20%2C%22dodger&format=json&numResults=100  
Could not find palette -20,"dodger at COLOURlovers.com using keyword search  
Fetching compressed palette -20,dodger from
http://www.colourlovers.com/api/palettes?keywords=-20%2Cdodger&format=json&numResults=100  
Could not find palette -20,dodger at COLOURlovers.com using keyword search  

> mlp #1/A key true palette -20,dodgerblue:0,white:20,orange red

Expected a keyword  

> mlp #1/A key true palette -20,dodgerblue:0,white:20,orangered

Map values for surface "AF-P06400-F1-model_v1_PoketDomain.pdb_A SES surface":
minimum -27.63, mean -5.355, maximum 22.11  
Traceback (most recent call last):  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/cmd_line/tool.py", line 297, in execute  
cmd.run(cmd_text)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/commands/cli.py", line 2856, in run  
result = ci.function(session, **kw_args)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/mlp/mlp.py", line 92, in mlp  
show_key(session, cmap)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in show_key  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/color_key/cmd.py", line 161, in <listcomp>  
key_arg = ' '.join([StringArg.unparse(("%s:" + v_fmt) %
(color_name(rgba_to_rgba8(c)), dv))  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in color_name  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in <dictcomp>  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
TypeError: unhashable type: 'Color'  
  
TypeError: unhashable type: 'Color'  
  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-
packages/chimerax/core/colors.py", line 779, in  
_color_names = {rgba8:name for name, rgba8 in BuiltinColors.items()}  
  
See log for complete Python traceback.  
  




OpenGL version: 4.6 (Core Profile) Mesa 21.0.3
OpenGL renderer: AMD RENOIR (DRM 3.40.0, 5.11.0-38-generic, LLVM 12.0.0)
OpenGL vendor: AMD
Manufacturer: LENOVO
Model: 20UJS06300
OS: Ubuntu 20.04 focal
Architecture: 64bit ELF
Virutal Machine: none
CPU: 12 AMD Ryzen 5 PRO 4650U with Radeon Graphics
Cache Size: 512 KB
Memory:
	              total        used        free      shared  buff/cache   available
	Mem:          7.0Gi       6.0Gi       287Mi       122Mi       696Mi       607Mi
	Swap:         7.4Gi       6.3Gi       1.1Gi

Graphics:
	06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev d3)	
	Subsystem: Lenovo Renoir [17aa:5082]	
	Kernel driver in use: amdgpu
Locale: ('en_US', 'UTF-8')
PyQt5 5.15.2, Qt 5.15.2
Installed Packages:
    alabaster: 0.7.12
    appdirs: 1.4.4
    Babel: 2.9.1
    backcall: 0.2.0
    blockdiag: 2.0.1
    certifi: 2021.5.30
    cftime: 1.5.0
    chardet: 4.0.0
    ChimeraX-AddCharge: 1.1.4
    ChimeraX-AddH: 2.1.10
    ChimeraX-AlignmentAlgorithms: 2.0
    ChimeraX-AlignmentHdrs: 3.2
    ChimeraX-AlignmentMatrices: 2.0
    ChimeraX-Alignments: 2.2.2
    ChimeraX-AlphaFold: 1.0
    ChimeraX-AltlocExplorer: 1.0.1
    ChimeraX-AmberInfo: 1.0
    ChimeraX-Arrays: 1.0
    ChimeraX-Atomic: 1.29.1
    ChimeraX-AtomicLibrary: 4.1.4
    ChimeraX-AtomSearch: 2.0
    ChimeraX-AtomSearchLibrary: 1.0
    ChimeraX-AxesPlanes: 2.0
    ChimeraX-BasicActions: 1.1
    ChimeraX-BILD: 1.0
    ChimeraX-BlastProtein: 2.0
    ChimeraX-BondRot: 2.0
    ChimeraX-BugReporter: 1.0
    ChimeraX-BuildStructure: 2.5.3
    ChimeraX-Bumps: 1.0
    ChimeraX-BundleBuilder: 1.1
    ChimeraX-ButtonPanel: 1.0
    ChimeraX-CageBuilder: 1.0
    ChimeraX-CellPack: 1.0
    ChimeraX-Centroids: 1.1
    ChimeraX-ChemGroup: 2.0
    ChimeraX-Clashes: 2.1
    ChimeraX-ColorActions: 1.0
    ChimeraX-ColorGlobe: 1.0
    ChimeraX-ColorKey: 1.4.1
    ChimeraX-CommandLine: 1.1.5
    ChimeraX-ConnectStructure: 2.0
    ChimeraX-Contacts: 1.0
    ChimeraX-Core: 1.3.dev202109060834
    ChimeraX-CoreFormats: 1.1
    ChimeraX-coulombic: 1.3.1
    ChimeraX-Crosslinks: 1.0
    ChimeraX-Crystal: 1.0
    ChimeraX-CrystalContacts: 1.0
    ChimeraX-DataFormats: 1.2.1
    ChimeraX-Dicom: 1.0
    ChimeraX-DistMonitor: 1.1.4
    ChimeraX-DistUI: 1.0
    ChimeraX-Dssp: 2.0
    ChimeraX-EMDB-SFF: 1.0
    ChimeraX-ExperimentalCommands: 1.0
    ChimeraX-FileHistory: 1.0
    ChimeraX-FunctionKey: 1.0
    ChimeraX-Geometry: 1.1
    ChimeraX-gltf: 1.0
    ChimeraX-Graphics: 1.1
    ChimeraX-Hbonds: 2.1.1
    ChimeraX-Help: 1.2
    ChimeraX-HKCage: 1.3
    ChimeraX-IHM: 1.1
    ChimeraX-ImageFormats: 1.2
    ChimeraX-IMOD: 1.0
    ChimeraX-IO: 1.0.1
    ChimeraX-ItemsInspection: 1.0
    ChimeraX-Label: 1.1
    ChimeraX-LinuxSupport: 1.0
    ChimeraX-ListInfo: 1.1.1
    ChimeraX-Log: 1.1.4
    ChimeraX-LookingGlass: 1.1
    ChimeraX-Maestro: 1.8.1
    ChimeraX-Map: 1.1
    ChimeraX-MapData: 2.0
    ChimeraX-MapEraser: 1.0
    ChimeraX-MapFilter: 2.0
    ChimeraX-MapFit: 2.0
    ChimeraX-MapSeries: 2.1
    ChimeraX-Markers: 1.0
    ChimeraX-Mask: 1.0
    ChimeraX-MatchMaker: 2.0.1
    ChimeraX-MDcrds: 2.5
    ChimeraX-MedicalToolbar: 1.0.1
    ChimeraX-Meeting: 1.0
    ChimeraX-MLP: 1.1
    ChimeraX-mmCIF: 2.4
    ChimeraX-MMTF: 2.1
    ChimeraX-Modeller: 1.1
    ChimeraX-ModelPanel: 1.1
    ChimeraX-ModelSeries: 1.0
    ChimeraX-Mol2: 2.0
    ChimeraX-Morph: 1.0
    ChimeraX-MouseModes: 1.1
    ChimeraX-Movie: 1.0
    ChimeraX-Neuron: 1.0
    ChimeraX-Nucleotides: 2.0.2
    ChimeraX-OpenCommand: 1.7
    ChimeraX-PDB: 2.6.1
    ChimeraX-PDBBio: 1.0
    ChimeraX-PDBLibrary: 1.0.1
    ChimeraX-PDBMatrices: 1.0
    ChimeraX-PickBlobs: 1.0
    ChimeraX-Positions: 1.0
    ChimeraX-PresetMgr: 1.0.1
    ChimeraX-PubChem: 2.1
    ChimeraX-ReadPbonds: 1.0
    ChimeraX-Registration: 1.1
    ChimeraX-RemoteControl: 1.0
    ChimeraX-ResidueFit: 1.0
    ChimeraX-RestServer: 1.1
    ChimeraX-RNALayout: 1.0
    ChimeraX-RotamerLibMgr: 2.0
    ChimeraX-RotamerLibsDunbrack: 2.0
    ChimeraX-RotamerLibsDynameomics: 2.0
    ChimeraX-RotamerLibsRichardson: 2.0
    ChimeraX-SaveCommand: 1.5
    ChimeraX-SchemeMgr: 1.0
    ChimeraX-SDF: 2.0
    ChimeraX-Segger: 1.0
    ChimeraX-Segment: 1.0
    ChimeraX-SelInspector: 1.0
    ChimeraX-SeqView: 2.4.3
    ChimeraX-Shape: 1.0.1
    ChimeraX-Shell: 1.0
    ChimeraX-Shortcuts: 1.1
    ChimeraX-ShowAttr: 1.0
    ChimeraX-ShowSequences: 1.0
    ChimeraX-SideView: 1.0
    ChimeraX-Smiles: 2.1
    ChimeraX-SmoothLines: 1.0
    ChimeraX-SpaceNavigator: 1.0
    ChimeraX-StdCommands: 1.6
    ChimeraX-STL: 1.0
    ChimeraX-Storm: 1.0
    ChimeraX-Struts: 1.0
    ChimeraX-Surface: 1.0
    ChimeraX-SwapAA: 2.0
    ChimeraX-SwapRes: 2.1
    ChimeraX-TapeMeasure: 1.0
    ChimeraX-Test: 1.0
    ChimeraX-Toolbar: 1.1
    ChimeraX-ToolshedUtils: 1.2
    ChimeraX-Tug: 1.0
    ChimeraX-UI: 1.12
    ChimeraX-uniprot: 2.2
    ChimeraX-UnitCell: 1.0
    ChimeraX-ViewDockX: 1.0.1
    ChimeraX-VIPERdb: 1.0
    ChimeraX-Vive: 1.1
    ChimeraX-VolumeMenu: 1.0
    ChimeraX-VTK: 1.0
    ChimeraX-WavefrontOBJ: 1.0
    ChimeraX-WebCam: 1.0
    ChimeraX-WebServices: 1.0
    ChimeraX-Zone: 1.0
    colorama: 0.4.4
    cxservices: 1.1
    cycler: 0.10.0
    Cython: 0.29.23
    decorator: 5.0.9
    distlib: 0.3.1
    distro: 1.5.0
    docutils: 0.17.1
    filelock: 3.0.12
    funcparserlib: 0.3.6
    grako: 3.16.5
    h5py: 3.4.0
    html2text: 2020.1.16
    idna: 2.10
    ihm: 0.20
    imagecodecs: 2021.4.28
    imagesize: 1.2.0
    ipykernel: 5.5.5
    ipython: 7.23.1
    ipython-genutils: 0.2.0
    jedi: 0.18.0
    Jinja2: 2.11.3
    jupyter-client: 6.1.12
    jupyter-core: 4.7.1
    kiwisolver: 1.3.2
    line-profiler: 3.3.0
    lxml: 4.6.3
    lz4: 3.1.3
    MarkupSafe: 1.1.1
    matplotlib: 3.4.2
    matplotlib-inline: 0.1.2
    msgpack: 1.0.2
    netCDF4: 1.5.6
    networkx: 2.6.2
    numexpr: 2.7.3
    numpy: 1.21.0
    openvr: 1.16.801
    packaging: 21.0
    ParmEd: 3.2.0
    parso: 0.8.2
    pexpect: 4.8.0
    pickleshare: 0.7.5
    Pillow: 8.2.0
    pip: 21.1.1
    pkginfo: 1.7.0
    prompt-toolkit: 3.0.20
    psutil: 5.8.0
    ptyprocess: 0.7.0
    pycollada: 0.7.1
    pydicom: 2.1.2
    Pygments: 2.9.0
    PyOpenGL: 3.1.5
    PyOpenGL-accelerate: 3.1.5
    pyparsing: 2.4.7
    PyQt5-commercial: 5.15.2
    PyQt5-sip: 12.8.1
    PyQtWebEngine-commercial: 5.15.2
    python-dateutil: 2.8.1
    pytz: 2021.1
    pyzmq: 22.2.1
    qtconsole: 5.1.0
    QtPy: 1.11.0
    RandomWords: 0.3.0
    requests: 2.25.1
    scipy: 1.6.3
    setuptools: 57.0.0
    sfftk-rw: 0.7.1
    six: 1.16.0
    snowballstemmer: 2.1.0
    sortedcontainers: 2.4.0
    Sphinx: 4.0.1
    sphinx-autodoc-typehints: 1.12.0
    sphinxcontrib-applehelp: 1.0.2
    sphinxcontrib-blockdiag: 2.0.0
    sphinxcontrib-devhelp: 1.0.2
    sphinxcontrib-htmlhelp: 2.0.0
    sphinxcontrib-jsmath: 1.0.1
    sphinxcontrib-qthelp: 1.0.3
    sphinxcontrib-serializinghtml: 1.1.5
    suds-jurko: 0.6
    tables: 3.6.1
    tifffile: 2021.4.8
    tinyarray: 1.2.3
    tornado: 6.1
    traitlets: 5.1.0
    urllib3: 1.26.6
    wcwidth: 0.2.5
    webcolors: 1.11.1
    wheel: 0.36.2
    wheel-filename: 1.3.0

Change History (2)

comment:1 by pett, 4 years ago

Cc: pett added
Component: UnassignedCore
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionunhashable type: 'Color'

comment:2 by pett, 4 years ago

Resolution: duplicate
Status: assignedclosed

Hi Juliana,

Thanks for reporting this problem. It was fixed in the build the day after the one you have, so if you update your version of ChimeraX you won't run into it again.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.