Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#8194 closed defect (fixed)

chimerax.build_structure.bond.CreateBondError: Must specify two or more atoms

Reported by: kristen.browne@… Owned by: Eric Pettersen
Priority: normal Milestone:
Component: Depiction Version:
Keywords: Cc: michal.stolarczyk@…
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Since switching to the new presets have started seeing this error come up.  This was for PDB 2JTN.  I just extracted the part of the logs around the error, let me know if you would like more.

Opened 1 biological assemblies for 2JTN
STATUS:
Opened 1 biological assemblies for 2JTN
NIH3D INFO: HEAVY ATOM MASS: 0.1 kDa
INFO:
Executing: ~bond #1
INFO:
Executing: bond #1

ERROR:
Traceback (most recent call last):
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-packages/chimerax/build_structure/cmd.py", line 20, in cmd_bondcreated = create_bonds(*args, **kw)
File "/usr/lib/ucsf-chimerax-daily/lib/python3.9/site-packages/chimerax/build_structure/bond.py", line 27, in create_bonds
raise CreateBondError("Must specify two or more atoms")
chimerax.build_structure.bond.CreateBondError: Must specify two or more atoms


Kristen Browne, MSc, MscBMC
Contractor - MSC, Inc. | A Guidehouse Company
3D Modeling and Biovisualization Specialist
Bioinformatics and Computational Biosciences Branch (BCBB)<https://www.niaid.nih.gov/research/bioinformatics-computational-biosciences-branch>
OCICB/OSMO/OD/NIAID/NIH

5601 Fishers Lane, Room 4A60
Rockville, MD 20852
Office 202-253-5228


Change History (5)

comment:1 by Eric Pettersen, 3 years ago

Component: UnassignedDepiction
Owner: set to Eric Pettersen
Platform: all
Project: ChimeraX
Status: newaccepted

in reply to:  2 ; comment:2 by kristen.browne@…, 3 years ago

Just adding  a note that this is impacting a lot of entries now and is the error of highest concern at this point.

-----Original Message-----
From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> 
Sent: Thursday, December 15, 2022 4:49 PM
Cc: Browne, Kristen (NIH/NIAID) [C] <kristen.browne@nih.gov>; pett@cgl.ucsf.edu
Subject: [EXTERNAL] Re: [ChimeraX] #8194: chimerax.build_structure.bond.CreateBondError: Must specify two or more atoms

#8194: chimerax.build_structure.bond.CreateBondError: Must specify two or more atoms
---------------------------------------+----------------------
          Reporter:  kristen.browne@...  |      Owner:  pett
              Type:  defect            |     Status:  accepted
          Priority:  normal            |  Milestone:
         Component:  Depiction         |    Version:
        Resolution:                    |   Keywords:
        Blocked By:                    |   Blocking:
Notify when closed:                    |   Platform:  all
           Project:  ChimeraX          |
---------------------------------------+----------------------
Changes (by pett):

 * owner:  (none) => pett
 * platform:   => all
 * status:  new => accepted
 * component:  Unassigned => Depiction
 * project:   => ChimeraX


--
Ticket URL: <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Ftrac%2FChimeraX%2Fticket%2F8194%23comment%3A1&data=05%7C01%7Ckristen.browne%40nih.gov%7C7ce60fd418824fce3e0e08dadee6206d%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638067377218397280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZxU9jwqm%2BQ7uADuvr3d92Lrl7i7mmjk0fYYUTB9IPNU%3D&reserved=0>
ChimeraX <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimerax%2F&data=05%7C01%7Ckristen.browne%40nih.gov%7C7ce60fd418824fce3e0e08dadee6206d%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638067377218397280%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xELF00p2RL7PDwm8bfDsvFbER%2FKAbmSpKn2gX7LWUGo%3D&reserved=0>
ChimeraX Issue Tracker
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and are confident the content is safe.

comment:3 by Eric Pettersen, 3 years ago

Cc: michal.stolarczyk@… added
Resolution: fixed
Status: acceptedclosed

Okay, I have submitted a pull request that "fixes" this problem. I use quotes because the underlying problem is that the entry/structure has either zero or 1 atoms -- so you will undoubtedly be submitting other bug reports!

in reply to:  4 ; comment:4 by kristen.browne@…, 3 years ago

Oh well that's strange.  A lot of these are quicksubmits directly from the PDB and definitely have atoms, so I guess we'll see what the error is once it gets past this problem!

K

-----Original Message-----
From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> 
Sent: Friday, December 16, 2022 1:47 PM
Cc: Browne, Kristen (NIH/NIAID) [C] <kristen.browne@nih.gov>; Stolarczyk, Michal (NIH/NIAID) [C] <michal.stolarczyk@nih.gov>; pett@cgl.ucsf.edu
Subject: [EXTERNAL] Re: [ChimeraX] #8194: chimerax.build_structure.bond.CreateBondError: Must specify two or more atoms

#8194: chimerax.build_structure.bond.CreateBondError: Must specify two or more atoms
---------------------------------------+--------------------
          Reporter:  kristen.browne@...  |      Owner:  pett
              Type:  defect            |     Status:  closed
          Priority:  normal            |  Milestone:
         Component:  Depiction         |    Version:
        Resolution:  fixed             |   Keywords:
        Blocked By:                    |   Blocking:
Notify when closed:                    |   Platform:  all
           Project:  ChimeraX          |
---------------------------------------+--------------------
Changes (by pett):

 * cc: michal.stolarczyk@... (added)
 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 Okay, I have submitted a pull request that "fixes" this problem.  I use  quotes because the underlying problem is that the entry/structure has  either zero or 1 atoms -- so you will undoubtedly be submitting other bug  reports!

--
Ticket URL: <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Ftrac%2FChimeraX%2Fticket%2F8194%23comment%3A3&data=05%7C01%7Ckristen.browne%40nih.gov%7Cc328626f49c944c3ac9a08dadf960442%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638068132654100693%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=H8Uq8mMA9V9prjQ%2FYSs4LpA558Ea83Mfe2wZKjysB2Y%3D&reserved=0>
ChimeraX <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimerax%2F&data=05%7C01%7Ckristen.browne%40nih.gov%7Cc328626f49c944c3ac9a08dadf960442%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638068132654100693%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DZEp7h247Wp%2BsmxkOpM69eFSpUwgREDzo%2FUpZS7td4E%3D&reserved=0>
ChimeraX Issue Tracker
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and are confident the content is safe.

comment:5 by Eric Pettersen, 3 years ago

I am going to open a separate ticket for 2JTN, since the bio assembly file has protein in it as well as 80 zinc atoms, and the only thing ChimeraX produces from it is 20 zinc atoms!

Note: See TracTickets for help on using tickets.