Skip to content

[tuflow] Add workbook data dictionary for POMM peak exports#62

Merged
Githubcopilot111 merged 13 commits intomainfrom
codex/add-export-sheet-with-column-descriptions
Nov 7, 2025
Merged

[tuflow] Add workbook data dictionary for POMM peak exports#62
Githubcopilot111 merged 13 commits intomainfrom
codex/add-export-sheet-with-column-descriptions

Conversation

@Chain-Frost
Copy link
Owner

Summary

  • add a column metadata registry so shared column descriptions can be reused by multiple exports
  • always append a data-dictionary worksheet with metadata and column explanations for the peak report workbook

Testing

  • python - <<'PY'
    import sys
    from pathlib import Path
    sys.path.append('.')
    import pandas as pd
    from ryan_library.scripts.pomm_utils import aggregated_from_paths, save_peak_report_median
    base = Path('tests/test_data/tuflow/tutorials/Module_09/results')
    df = aggregated_from_paths(paths=[base])
    if df.empty:
    print('Aggregated dataframe is empty')
    else:
    save_peak_report_median(
    aggregated_df=df,
    script_directory=Path('.'),
    timestamp='20250101-1200',
    include_pomm=True,
    )
    print('Workbook generated')
    PY

https://chatgpt.com/codex/tasks/task_e_69099e6987ac832eb9d1d6dd36bae24b

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

@codex review

1 similar comment
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

1 similar comment
@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

@Githubcopilot111 Githubcopilot111 merged commit 4a08f69 into main Nov 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants