def _fix_labels(self):
for s in self.systems:<EOL><INDENT>mag0 = np.inf<EOL>n0 = None<EOL>for n in self.get_system(s):<EOL><INDENT>if isinstance(n.parent, DummyObsNode):<EOL><INDENT>continue<EOL><DEDENT>mag, _ = n.parent.value<EOL>if mag < mag0:<EOL><INDENT>mag0 = mag<EOL>n0 = n<EOL><DEDENT><DEDENT>if n0 is not None and n0.tag != <NUM_LIT:0>:<EOL><INDENT>n_other = self.get_leaf('<STR_LIT>'.format(s,<NUM_LIT:0>))<EOL>n_other.tag = n0.tag<EOL>n0.tag = <NUM_LIT:0><EOL><DEDENT><DEDENT>
For each system, make sure tag _0 is the brightest, and make sure
        system 0 contains the brightest star in the highest-resolution image