def __init__(self, report, case_dict):

        # get mother case
        if len(case_dict["indices"]) > 0:
            try:
                parent_case = CommCareCase.get(case_dict["indices"][0]["referenced_id"])
                forms = parent_case.get_forms()

                parent_json = parent_case.case_properties()

                setattr(self, "_father_mother_name", (get_property(parent_json,"husband_name"), get_property(parent_json, "mother_name")) %"%s, %s")
                setattr(self, "_full_mcts_id", get_property(parent_json, "full_mcts_id"))
                setattr(self, "_ward_number", get_property(parent_json, "ward_number"))
                setattr(self, "_mobile_number", get_property(parent_case, 'mobile_number'))

                number = get_property(parent_case, "mobile_number_whose")
                if re.match(r"^mobile_", number):
                    r = re.compile(r"^mobile_", re.IGNORECASE)
                    setattr(self, "_mobile_number_whose", r.sub("", number))
                else:
                    setattr(self, "_mobile_number_whose", number)

                for form in forms:
                    form_dict = form.form
                    form_xmlns = form_dict["@xmlns"]

                    if NEW in form_xmlns:
                        setattr(self, "_caste", get_property(form_dict, "caste"))
                    elif DELIVERY in form_xmlns:
                        if get_property(form_dict, "where_born") != 'home':
                            setattr(self, "_home_sba_assist", get_property(form_dict, "where_born"))
                        else:
                            setattr(self, "_home_sba_assist", get_property(form_dict, "home_sba_assist"))

            except ResourceNotFound:
                logging.error("ResourceNotFound: " + case_dict["indices"][0]["referenced_id"])

        super(MCHChildDisplay, self).__init__(report, case_dict)
dataset/ETHPy150Open dimagi/commcare-hq/custom/bihar/reports/display.py/MCHChildDisplay.__init__/swapped operands of `%`