Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix][Include Table] Use correct output parameters w.r.t. CSV files #707

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kibot/pre_include_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def update_table(ops, parent):
csv_name.append(name_without_ext)

# Map the CSV file names to the corresponding out variable
out_to_csv_mapping[out.name] = csv_targets
out_to_csv_mapping[out.name] = (out, csv_targets)
logger.debug(f' - {out.name} -> {csv_targets}')

group_found = False # Flag to track if any group was found with ops.group_name
Expand All @@ -268,7 +268,7 @@ def update_table(ops, parent):
index = int(group_suffix[-2])-1
group_suffix = group_suffix[:-3]
logger.debug(f' - {group_suffix} index: {index}')
csv = out_to_csv_mapping.get(group_suffix)
out, csv = out_to_csv_mapping.get(group_suffix)
if not csv:
logger.warning(W_NOMATCHGRP+f'No output to handle `{group_name}` found')
continue
Expand Down
Loading