(self)
| 155 | return self.bids2xpath.get(label, '') |
| 156 | |
| 157 | def mark_id(self) -> None: |
| 158 | root = self.get_root(self.dom_tree) |
| 159 | _, i2xpath, used_labels = get_xpath_top_down(root, self.id_attr, self.label_attr) |
| 160 | self.used_labels = used_labels |
| 161 | self.bids2xpath = i2xpath |
| 162 | |
| 163 | def parse(self, root: html.HtmlElement, keep: list[str], obs: list[str], parent_chain: bool=False, get_new_label: bool=False) -> dict[str]: |
| 164 | def get_text(str: str) -> str: |
no test coverage detected