Opened 5 years ago
Closed 5 years ago
#3558 closed defect (can't reproduce)
Session restore: Tried to add model with the same id as another model
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Sessions | Version: | |
Keywords: | Cc: | Greg Couch | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.18362 ChimeraX Version: 1.1.dev202007180211 (2020-07-18 02:11:31 UTC) Description Can't open a previous session that contains a .seg file as model Log: UCSF ChimeraX version: 1.1.dev202007180211 (2020-07-18) © 2016-2020 Regents of the University of California. All rights reserved. > open "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" Log from Mon Jul 20 09:05:42 2020UCSF ChimeraX version: 1.0 (2020-06-04) © 2016-2020 Regents of the University of California. All rights reserved. > open "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" Showing run_class001.seg - 8 regions, 8 surfaces Log from Sun Jul 19 11:50:53 2020UCSF ChimeraX version: 1.0 (2020-06-04) © 2016-2020 Regents of the University of California. All rights reserved. > open "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" Showing run_class001.seg - 8 regions, 8 surfaces Log from Fri Jul 17 21:57:03 2020 > ui mousemode rightMode zoom > set bgColor white > hide all atoms > show all cartoons > color /a #55c087 > color /b #ffe255 > color /c #f6986c > color /d #6b80bc > color /e #aa7fba > lighting soft > lighting depthCue false > cartoon suppressBackboneDisplay false > graphics silhouettes true UCSF ChimeraX version: 1.0 (2020-06-04) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" Showing run_class001.seg - 8 regions, 8 surfaces opened ChimeraX session > view list Named views: O1-DNA, O4-5-DNA, O4-5-DNA_2, ScORC_O4_loop, back-side > close #3 > open > C:\Users\mattj\Documents\cryoem_chimera\2018-12-27_x108\relionnew\Refine3D\job141\ORC- > DNA_Refine_5-coot-15.pdb name ORC-DNA_pdb Summary of feedback from opening C:\Users\mattj\Documents\cryoem_chimera\2018-12-27_x108\relionnew\Refine3D\job141\ORC- DNA_Refine_5-coot-15.pdb --- warning | Ignored bad PDB record found on line 16538 END Chain information for ORC-DNA_pdb #3 --- Chain | Description A | No description available B | No description available C | No description available D | No description available E | No description available F | No description available G | No description available > hide all atoms > hide all cartoons > cartoon style nucleic xsection oval thickness 1 width 2.5 > cartoon suppressBackboneDisplay false > color ligand black > color ligand byhetero > color /g red > hide /f-g atoms > show nucleic & sidechain > nucleotides ladder > color /a #55c087 > color /b #ffe255 > color /c #f6986c > color /d #6b80bc > color /e #aa7fba > show #3 cartoons > show (#3/a:591,595,596,626,628,629 & sidechain) target ab > show (sel-residues & sidechain) target ab > style all stick Changed 92459 atom styles > color byhetero > view O1-DNA > lighting soft > hide #!2 models > hide #!7 models > clip off > show #1 models > clip far -1 > clip far -1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > graphics silhouettes Current silhouette settings: enabled: True width: 3 color: 0,0,0 depth jump: 0.03 > graphics silhouettes depthJump .05 > graphics silhouettes depthJump .06 > graphics silhouettes depthJump .07 > graphics silhouettes depthJump .01 > graphics silhouettes Current silhouette settings: enabled: True width: 3 color: 0,0,0 depth jump: 0.01 > graphics silhouettes width 4 depthJump .01 > view list Named views: O1-DNA, O4-5-DNA, O4-5-DNA_2, ScORC_O4_loop, back-side > view name DNA-map > view DNA-ma Expected an objects specifier or a view name or a keyword > view DNA-map > surface dust all > surface dust all Cannot determine format for 'image' > save "C:\Users\mattj\Google Drive\CSHL\papers\x108\figures\fig4\DNA-map.png" > width 2000 transparentBackground true > hide all models > show #2 models > view O2WH Expected an objects specifier or a view name or a keyword > view list Named views: DNA-map, O1-DNA, O4-5-DNA, O4-5-DNA_2, ScORC_O4_loop, back-side > hide all models > show #1 models > lighting soft > lighting gentle > view name O2WH Cannot determine format for 'session' > save "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" > hide all models > show #1 models > view O2WH > lighting gentle > save "C:\Users\mattj\Google > Drive\CSHL\papers\x108\figures\fig4\O2WH_density.png" width 2000 > transparentBackground true > lighting gentle > hide all models > show #6 models > hide #6 atoms > show #6/d cartoons > mmaker #6/d to #4/d 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 ORC-DNA_fit-to-j141.pdb, chain D (#4) with 5zr1, chain D (#6), sequence alignment score = 618.6 RMSD between 195 pruned atom pairs is 1.246 angstroms; (across all 366 pairs: 9.286) > color #6/d #b5bfdd > color #6/g #fe5555 > clip off > show #6/D:478 atoms > color #6/D:478 byhetero > show #6/g,h cartoons > hide #6/H:52,53 cartoons > show #6/H:52,53 atoms > style #6/H:52,53 stick Changed 41 atom styles > color #6/H:52,53 byhetero > view ScORC_O4_loop > clip off > hide target abc > show #6/d cartoons > mmaker #6/d to #4/d 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 ORC-DNA_fit-to-j141.pdb, chain D (#4) with 5zr1, chain D (#6), sequence alignment score = 618.6 RMSD between 195 pruned atom pairs is 1.246 angstroms; (across all 366 pairs: 9.286) > color #6/d #b5bfdd > color #6/g #fe5555 > clip off > show #6/D:478 atoms > color #6/D:478 byhetero > show #6/g,h cartoons > hide #6/H:52,53 cartoons > show #6/H:52,53 atoms > style #6/H:52,53 stick Changed 41 atom styles > color #6/H:52,53 byhetero > view ScORC_O4_loop > clip off > hide all models > show #6 models > hide target abc > show #6/d cartoons > mmaker #6/d to #4/d 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 ORC-DNA_fit-to-j141.pdb, chain D (#4) with 5zr1, chain D (#6), sequence alignment score = 618.6 RMSD between 195 pruned atom pairs is 1.246 angstroms; (across all 366 pairs: 9.286) > color #6/d #b5bfdd > color #6/g #fe5555 > clip off > show #6/D:478 target ab > color #6/D:478 byhetero > show #6/g,h cartoons > hide #6/H:52,53 cartoons > show #6/H:52,53 target ab > style #6/H:52,53 stick Changed 41 atom styles > color #6/H:52,53 byhetero > view ScORC_O4_loop > clip off > show nucleic & sidechain > nucleotides ladder > nucleotides ladder > nucleotides stubs > nucleotides #6/H:52,53 atoms > cartoon suppressBackboneDisplay false > hide all models > show #6 models > hide target abc > show #6/d cartoons > mmaker #6/d to #4/d 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 ORC-DNA_fit-to-j141.pdb, chain D (#4) with 5zr1, chain D (#6), sequence alignment score = 618.6 RMSD between 195 pruned atom pairs is 1.246 angstroms; (across all 366 pairs: 9.286) > color #6/d #b5bfdd > color #6/g #fe5555 > clip off > show #6/D:478 target ab > color #6/D:478 byhetero > show #6/g,h cartoons > hide #6/H:52,53 cartoons > show #6/H:52,53 target ab > nucleotides #6/H:52,53 atoms > style #6/H:52,53 stick Changed 41 atom styles > color #6/H:52,53 byhetero > view ScORC_O4_loop > clip off > lighting soft > hide all models > show #6 models > hide target abc > show #6/d cartoons > mmaker #6/d to #4/d 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 ORC-DNA_fit-to-j141.pdb, chain D (#4) with 5zr1, chain D (#6), sequence alignment score = 618.6 RMSD between 195 pruned atom pairs is 1.246 angstroms; (across all 366 pairs: 9.286) > color #6/d #b5bfdd > color #6/g #fe5555 > clip off > show (#6/D:478 & sidechain) target ab > color byhetero > show #6/g,h cartoons > hide #6/H:52,53 cartoons > show #6/H:52,53 target ab > nucleotides #6/H:52,53 atoms > style #6/H:52,53 stick Changed 41 atom styles > color #6/H:52,53 byhetero > view ScORC_O4_loop > lighting soft > clip off > save "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\ScORC_O4_loop.png" width > 2000 transparentBackground true > hide target abc > cartoon style nucleic xsection oval thickness 1 width 2.5 > cartoon suppressBackboneDisplay false > color ligand black > color ligand byhetero > color /g red > hide /f-g atoms > show nucleic & sidechain > nucleotides ladder > color /a #55c087 > color /b #ffe255 > color /c #f6986c > color /d #6b80bc > color /e #aa7fba > show #3 target c > hide target ab > show #1,3 models > graphics silhouettes width 4 depthJump .01 > view DNA-map > surface dust all > volume #1 transparency .5 > hide all models > show #1,3 models > volume #1 transparency .5 > graphics silhouettes width 4 depthJump .01 > view DNA-map > surface dust all > view DNA-map > nucleotides stubs > surface dust all > show nucleic & sidechain > nucleotides stubs radius .3 > nucleotides stubs radius .45 > show #1,3 models > volume #1 transparency .5 > volume #1 color #b2b2b2 > graphics silhouettes width 4 depthJump .01 > view DNA-map > nucleotides stubs > surface dust all > volume #1 color #b2b2b2 > volume #1 level 0.0087 > volume #1 level 0.0088 > volume #1 level 0.0087 > volume #1 transparency .5 > volume #1 color #b2b2b2 > graphics silhouettes width 4 depthJump .01 > view DNA-map > nucleotides stubs > surface dust all > volume #1 transparency .5 > save "C:\Users\mattj\Google Drive\CSHL\papers\x108\figures\fig4\DNA-map.png" > width 2000 transparentBackground true > save "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" opened ChimeraX session > hide #!2 models > hide #!1 models > clip off > view name DNA-axis > show (#3/a:591,595,596,626,628,629 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > colorby hetero Unknown command: colorby hetero > color byhetero > view DNA-axis > hide all models > show #3 models > hide target abc > show #3/a:587-604,625-631 target c > show #3/b:362-369 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > color byhetero > view DNA-axis > hide all models > show #3 models > hide target abc > show #3/a:587-604,625-631 target c > show #3/b:362-369 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show #3/f,g target c > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > color byhetero > view DNA-axis > nucleotides stubs > hide all models > show #3 models > hide target abc > show #3/a:587-604,625-631 target c > show #3/b:362-369 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show #3/f,g target abc > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > nucleotides stubs > color byhetero > view DNA-axis > hide all models > show #3 models > hide target abc > show #3/a:587-604,625-631 target c > show #3/b:362-369 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show #3/f,g target c > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > nucleotides stubs > color byhetero > view DNA-axis > hide all models > show #3 models > hide target abc > show #3/a:587-604,625-631 target c > show #3/b:362-369 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show #3/f,g target c > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > show nucleic & sidechain > nucleotides stubs > color byhetero > view DNA-axis > view name DNA-axis > hide all models > show #3 models > hide target abc > show #3/a:587-604,625-631 target c > show #3/b:362-368 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show #3/f,g target c > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > show nucleic & sidechain > nucleotides stubs > color byhetero > view DNA-axis > save "C:\Users\mattj\Google Drive\CSHL\papers\x108\figures\fig4\DNA- > axis.png" width 2000 transparentBackground true > show #3/c target c > select #3/C:145 9 atoms, 8 bonds, 1 model selected > show #3/C:145 target ab > hide all models > show #3 models > hide target abc > show #3/a:587-604,625-631 target c > show #3/b:362-368 target c > show #3/c:144-157 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show #3/f,g target c > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/c:145 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > show nucleic & sidechain > nucleotides stubs > color byhetero > view DNA-axis > select clear > view name DNA-axis > view name DNA-axis > view name DNA-axis > view name DNA-axis > hide all models > show #3 models > hide target abc > show #3/a:594-604,625-631 target c > show #3/b:362-368 target c > show #3/c:144-157 target c > show #3/d:388-395 target c > show #3/e:390-402 target c > show #3/f,g target c > show (#3/a:595,596,626,628,629 & sidechain) target ab > show (#3/b:367 & sidechain) target ab > show (#3/c:145 & sidechain) target ab > show (#3/d:390 & sidechain) target ab > show (#3/e:398 & sidechain) target ab > show nucleic & sidechain > nucleotides stubs > color byhetero > view DNA-axis > save "C:\Users\mattj\Google Drive\CSHL\papers\x108\figures\fig4\DNA- > axis.png" width 2000 transparentBackground true > save "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" opened ChimeraX session > hide target abc > cartoon style nucleic xsection oval thickness 1 width 2.5 > cartoon suppressBackboneDisplay false > color ligand black > color ligand byhetero > color /g red > hide /f-g atoms > show nucleic & sidechain > nucleotides ladder > color /a #55c087 > color /b #ffe255 > color /c #f6986c > color /d #6b80bc > color /e #aa7fba > show #3 target c > hide target ab > hide all models > show #1,3 models > volume #1 color #b2b2b2 > volume #1 transparency .5 > graphics silhouettes width 4 depthJump .01 > view DNA-map > nucleotides stubs > surface dust all > show nucleic & sidechain > clip > clip far 1 > clip far 1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip near 1 > clip near 1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip near -1 > clip > clip list Using 3 clip planes: far offset 14.505, axis -0.687,0.589,0.425, point 183.3,164.3,171.2) front offset 0, axis 0.687,-0.589,-0.425, point 170.3,170.9,175.1) near offset -31, axis 0.687,-0.589,-0.425, point 149,189.2,188.3) > clip front 1 > clip front 1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > clip front -1 > graphics silhouettes Current silhouette settings: enabled: True width: 4 color: 0,0,0 depth jump: 0.01 > graphics silhouettes depthJump .02 > view name DNA_map_side > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far 1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far -1 > clip far 1 > clip far 1 > clip far -1 > clip far 1 > clip far 1 > clip far -1 > view name DNA_map_side > view name DNA_map_side > save "C:\\\Users\\\mattj\\\Google > Drive\\\CSHL\\\papers\\\x108\\\figures\\\fig4\\\fig4.cxs" Showing run_class001.seg - 8 regions, 8 surfaces Unable to restore session, resetting. Traceback (most recent call last): File "C:\Program Files\ChimeraX 1.1.dev202007180211\bin\lib\site- packages\chimerax\core\session.py", line 690, in restore obj = sm.restore_snapshot(self, data) File "C:\Program Files\ChimeraX 1.1.dev202007180211\bin\lib\site- packages\chimerax\core\models.py", line 351, in restore_snapshot m.set_state_from_snapshot(session, data) File "C:\Program Files\ChimeraX 1.1.dev202007180211\bin\lib\site- packages\chimerax\core\models.py", line 359, in set_state_from_snapshot p.add([self]) File "C:\Program Files\ChimeraX 1.1.dev202007180211\bin\lib\site- packages\chimerax\core\models.py", line 278, in add om.add(models, parent = self) File "C:\Program Files\ChimeraX 1.1.dev202007180211\bin\lib\site- packages\chimerax\core\models.py", line 650, in add p = self._parent_for_added_model(model, parent, root_model = root_model) File "C:\Program Files\ChimeraX 1.1.dev202007180211\bin\lib\site- packages\chimerax\core\models.py", line 718, in _parent_for_added_model % (model, self._models[model.id])) ValueError: Tried to add model 1872 #2.33 with the same id as another model 1872 #2.33 opened ChimeraX session OpenGL version: 3.3.0 NVIDIA 442.92 OpenGL renderer: GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation Manufacturer: LENOVO Model: 20MFCTO1WW OS: Microsoft Windows 10 Pro (Build 18362) Memory: 33,922,240,512 MaxProcessMemory: 137,438,953,344 CPU: 12 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz" PyQt version: 5.12.3 Compiled Qt version: 5.12.4 Runtime Qt version: 5.12.9
Change History (4)
comment:1 by , 5 years ago
Cc: | added |
---|---|
Component: | Unassigned → Sessions |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → Session restore: Tried to add model with the same id as another model |
comment:2 by , 5 years ago
The session file that gives an error on restore somehow has two models with the same id number #2.33, both named 1872. I don't know how that can happen. If I segment a map and save a session it restores correctly. Can you provide the session file? I don't need the map (which is not included in the session file).
comment:3 by , 5 years ago
Also do you know when the session that causes the error was saved? ChimeraX 1.0 and older versions were not checking for duplicate model id numbers so I can imagine an older ChimeraX could have made two models with the same id number without raising an error. About two months ago (after ChimeraX 1.0) I added code that checks for duplicate model id numbers. You might also check if your session will open in ChimeraX 1.0 -- it might since that version did not check for duplicate id numbers.
comment:4 by , 5 years ago
Resolution: | → can't reproduce |
---|---|
Status: | assigned → closed |
No response from reporter. Can't reproduce.
Reported by Matt Jaremko