{"action":"created","issue":{"url":"https://api.github.com/repos/biasmv/pv/issues/83","labels_url":"https://api.github.com/repos/biasmv/pv/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/biasmv/pv/issues/83/comments","events_url":"https://api.github.com/repos/biasmv/pv/issues/83/events","html_url":"https://github.com/biasmv/pv/issues/83","id":59387431,"number":83,"title":"shouldIntroduceChainBreaks ignores connections, sometimes breaking cartoon representation","user":{"login":"John-Jumper","id":4306211,"avatar_url":"https://avatars.githubusercontent.com/u/4306211?v=3","gravatar_id":"","url":"https://api.github.com/users/John-Jumper","html_url":"https://github.com/John-Jumper","followers_url":"https://api.github.com/users/John-Jumper/followers","following_url":"https://api.github.com/users/John-Jumper/following{/other_user}","gists_url":"https://api.github.com/users/John-Jumper/gists{/gist_id}","starred_url":"https://api.github.com/users/John-Jumper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/John-Jumper/subscriptions","organizations_url":"https://api.github.com/users/John-Jumper/orgs","repos_url":"https://api.github.com/users/John-Jumper/repos","events_url":"https://api.github.com/users/John-Jumper/events{/privacy}","received_events_url":"https://api.github.com/users/John-Jumper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-01T07:56:16Z","updated_at":"2015-03-01T09:35:02Z","closed_at":null,"body":"For some coarse-grained protein models I work with, my C-N bond distances sometimes exceeds the 1.8 A cutoff in shouldIntroduceChainBreak.  Whenever that happens, cartoon and other representations have spurious chain breaks.  It would be nice if the cutoff was controlled by a global variable.  \r\n\r\nEven better would be to just check for the presence of a bond object when building cartoon, and trust the user that there should not be a chain break whenever a bond is specified between the atoms.  I manually build the chain using addResidue, addAtom, and structure.connect, so I have specified the bonds that I want.\r\n\r\nOtherwise, thank you for the project.  I am currently playing with using PV in IPython notebooks.\r\n"},"comment":{"url":"https://api.github.com/repos/biasmv/pv/issues/comments/76589634","html_url":"https://github.com/biasmv/pv/issues/83#issuecomment-76589634","issue_url":"https://api.github.com/repos/biasmv/pv/issues/83","id":76589634,"user":{"login":"biasmv","id":1254268,"avatar_url":"https://avatars.githubusercontent.com/u/1254268?v=3","gravatar_id":"","url":"https://api.github.com/users/biasmv","html_url":"https://github.com/biasmv","followers_url":"https://api.github.com/users/biasmv/followers","following_url":"https://api.github.com/users/biasmv/following{/other_user}","gists_url":"https://api.github.com/users/biasmv/gists{/gist_id}","starred_url":"https://api.github.com/users/biasmv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biasmv/subscriptions","organizations_url":"https://api.github.com/users/biasmv/orgs","repos_url":"https://api.github.com/users/biasmv/repos","events_url":"https://api.github.com/users/biasmv/events{/privacy}","received_events_url":"https://api.github.com/users/biasmv/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T09:35:02Z","updated_at":"2015-03-01T09:35:02Z","body":"Thanks for the report. I've just added a check to shouldIntroduceTraceBreak that checks for the presence of a bond between the residues, and in case there is one, it does not introduce a trace break. Let me know if that works for you.\r\n\r\nI'd be curious to know how your iPython notebook experiments are going. That's something I've always wanted to try out, but never got around to...\r\n\r\n\r\nBest,\r\nMarco"}}