{"action":"closed","issue":{"url":"https://api.github.com/repos/LoLab-VU/pysb/issues/17","labels_url":"https://api.github.com/repos/LoLab-VU/pysb/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/LoLab-VU/pysb/issues/17/comments","events_url":"https://api.github.com/repos/LoLab-VU/pysb/issues/17/events","html_url":"https://github.com/LoLab-VU/pysb/issues/17","id":98509749,"number":17,"title":"ComplexPattern.is_equivalent_to() requires identical bond numbering","user":{"login":"lh64","id":1355235,"avatar_url":"https://avatars.githubusercontent.com/u/1355235?v=3","gravatar_id":"","url":"https://api.github.com/users/lh64","html_url":"https://github.com/lh64","followers_url":"https://api.github.com/users/lh64/followers","following_url":"https://api.github.com/users/lh64/following{/other_user}","gists_url":"https://api.github.com/users/lh64/gists{/gist_id}","starred_url":"https://api.github.com/users/lh64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lh64/subscriptions","organizations_url":"https://api.github.com/users/lh64/orgs","repos_url":"https://api.github.com/users/lh64/repos","events_url":"https://api.github.com/users/lh64/events{/privacy}","received_events_url":"https://api.github.com/users/lh64/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-01T05:28:47Z","updated_at":"2015-08-01T05:29:04Z","closed_at":"2015-08-01T05:29:04Z","body":"From the code:\r\n     # FIXME the literal site_conditions comparison requires bond numbering to be identical,\r\n     #   so some sort of canonicalization of that numbering is necessary.\r\n\r\nCurrently, a comparison of the ComplexPatterns A(b=1)%B(a=1) and A(b=2)%B(a=2) would return False.  This needs to be fixed, especially since new code in Solver.run() uses the ComplexPattern.is_equivalent_to() method."}}