Skip to content
Snippets Groups Projects
Commit aad305ac authored by Theodore Chang's avatar Theodore Chang
Browse files

Merge branch...

Merge branch '1431-tabular-parser-multiple-instances-of-different-classes-do-not-work' into 'develop'

Resolve "Tabular parser: multiple instances of different classes do not work"

Closes #1431

See merge request !1223
parents eca264d2 ce3dcda1
Branches
Tags
1 merge request!1223Resolve "Tabular parser: multiple instances of different classes do not work"
Pipeline #163701 passed
...@@ -441,8 +441,9 @@ def parse_table(pd_dataframe, section_def: Section, logger): ...@@ -441,8 +441,9 @@ def parse_table(pd_dataframe, section_def: Section, logger):
sections.append(section) sections.append(section)
else: else:
try: try:
section_name = path_quantities_to_top_subsection.pop().split('/')[1:] for item in path_quantities_to_top_subsection:
_append_subsections_from_section(section_name, sections[row_index], section) section_name: List[str] = item.split('/')[1:]
_append_subsections_from_section(section_name, sections[row_index], section)
except Exception as e: except Exception as e:
logger.error( logger.error(
'could not append repeating columns to the subsection', 'could not append repeating columns to the subsection',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment