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

Add benchmark script to create species changes tables for GEOS-Chem wiki #337

Merged
merged 5 commits into from
Oct 4, 2024

Commits on Sep 6, 2024

  1. Added benchmark_species_changes.py module

    gcpy/benchmark/modules/benchmark_species_changes.py
    - Added this script to compute a table of species that have changed
      between each version, along with corresponding metadata
    
    CHANGELOG.md
    - Updated accordingly
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    006819e View commit details
    Browse the repository at this point in the history
  2. Further update benchmark_species_changes.py

    gcpy/benchmark/modules/benchmark_species_changes.py
    - Add Pydoc headers
    - Add code to generate the wiki tables for "Species added"
      and "Species removed"
    - Print out the list of species with changed attributes (you then
      can use this info to manually create the table)
    - Now use argparse to handle input arguments
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    52ed98e View commit details
    Browse the repository at this point in the history
  3. Renamed function in benchmark_species_changes.py

    gcpy/benchmark/modules/benchmark_species_changes.py
    - Renamed function "create_wiki_tables"
      to "make_benchmark_species_changes_wiki_tables"
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    eb303de View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Add newline in wiki table header in benchmark_species_changes.py

    gcpy/benchmark/modules/benchmark_species.py
    - Added a new line (\n) after the line with bgcolor, in order to
      have the table render properly.
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    ec80817 View commit details
    Browse the repository at this point in the history
  2. Fixed additional formatting issues in benchmark_species_changes.py

    gcpy/benchmark/modules/benchmark_species_changes.py
    - Add "\n" after cellpadding in the first table header line
    - Add bgcolor tag for each header column
    - Now use proper Heading 3 tag ("=== ===")
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    6f8848f View commit details
    Browse the repository at this point in the history