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