{"action":"created","issue":{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1789","repository_url":"https://api.github.com/repos/CellProfiler/CellProfiler","labels_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1789/labels{/name}","comments_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1789/comments","events_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1789/events","html_url":"https://github.com/CellProfiler/CellProfiler/issues/1789","id":137352318,"number":1789,"title":"ReassignObjectNumbers: Per-parent unification performing inappropriate masking","user":{"login":"braymp","id":1186440,"avatar_url":"https://avatars.githubusercontent.com/u/1186440?v=3","gravatar_id":"","url":"https://api.github.com/users/braymp","html_url":"https://github.com/braymp","followers_url":"https://api.github.com/users/braymp/followers","following_url":"https://api.github.com/users/braymp/following{/other_user}","gists_url":"https://api.github.com/users/braymp/gists{/gist_id}","starred_url":"https://api.github.com/users/braymp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braymp/subscriptions","organizations_url":"https://api.github.com/users/braymp/orgs","repos_url":"https://api.github.com/users/braymp/repos","events_url":"https://api.github.com/users/braymp/events{/privacy}","received_events_url":"https://api.github.com/users/braymp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/labels/Bug","name":"Bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-02-29T19:48:06Z","updated_at":"2016-04-08T13:27:37Z","closed_at":null,"body":"In the attached pipeline (to be run with the two sample images), the three objects are made children of an overlapping parent object; these are unified per-parent in ReassignObjectNumbers. \r\n\r\nRelateObjects shows the desired outcome: the 3 objects are unified, with original boundaries intact.\r\n\r\nHowever, in ReassignObjectNumbers, the 3 objects are basically masked, then unified.\r\n\r\n![untitled-2](https://cloud.githubusercontent.com/assets/1186440/13406761/46dd569e-def3-11e5-999f-15f4d01ea9d5.png)\r\n![untitled-1](https://cloud.githubusercontent.com/assets/1186440/13406762/46e3aea4-def3-11e5-9b44-e9d277cc2882.png)\r\n[issue.cppipe.txt](https://github.com/CellProfiler/CellProfiler/files/151634/issue.cppipe.txt)"},"comment":{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/comments/207432144","html_url":"https://github.com/CellProfiler/CellProfiler/issues/1789#issuecomment-207432144","issue_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/1789","id":207432144,"user":{"login":"dlogan","id":1225595,"avatar_url":"https://avatars.githubusercontent.com/u/1225595?v=3","gravatar_id":"","url":"https://api.github.com/users/dlogan","html_url":"https://github.com/dlogan","followers_url":"https://api.github.com/users/dlogan/followers","following_url":"https://api.github.com/users/dlogan/following{/other_user}","gists_url":"https://api.github.com/users/dlogan/gists{/gist_id}","starred_url":"https://api.github.com/users/dlogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlogan/subscriptions","organizations_url":"https://api.github.com/users/dlogan/orgs","repos_url":"https://api.github.com/users/dlogan/repos","events_url":"https://api.github.com/users/dlogan/events{/privacy}","received_events_url":"https://api.github.com/users/dlogan/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T13:27:37Z","updated_at":"2016-04-08T13:27:37Z","body":"I'm reopening this one because when I run in Test Mode with master on my Mac, I hit ReassignObjectNumbers and get:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/dlogan/github/CellProfiler/cellprofiler/gui/pipelinecontroller.py\", line 2846, in do_step\r\n    module.display(workspace, fig)\r\n  File \"/Users/dlogan/github/CellProfiler/cellprofiler/modules/reassignobjectnumbers.py\", line 346, in display\r\n    from cellprofiler.gui.cpfigure import renumber_labels_for_display\r\nImportError: cannot import name renumber_labels_for_display\r\n```\r\nPerhaps the import should be from cellprofiler.gui.cpfigure_tools rather than \r\n> from cellprofiler.gui.cpfigure import renumber_labels_for_display\r\n?\r\nhttps://github.com/CellProfiler/CellProfiler/blob/master/cellprofiler/modules/reassignobjectnumbers.py#L346\r\n\r\nThough not sure why the patched version worked previously on the cluster?"}}