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

Replace whitespace in Ref and Dev version labels in benchmarking code #340

Merged
merged 1 commit into from
Sep 13, 2024

Commits on Sep 12, 2024

  1. Replace whitespace in Ref, Dev labels with underscores

    gcpy/benchmark/modules/benchmark_drydep.py
    - Import "get_common_varnames" from benchmark_utils.py
      (suggested by Pylint)
    - Call util.replace_whitespace on refstr and devstr
    
    gcpy/benchmark/modules/benchmark_funcs.py
    - Import replace_whitespace from gcpy.util module
    - Call replace_whitespace on refstr and devstr in several routines
    - Update comments
    
    gcpy/benchmark/modules/benchmark_gcclassic_stats.py
    gcpy/benchmark/modules/benchmark_mass_cons_table.py
    gcpy/benchmark/modules/benchmark_models_vs_sondes.py
    gcpy/benchmark/modules/benchmark_scrape_gcclassic_timers.py
    gcpy/benchmark/modules/benchmark_scrape_gchp_timers.py
    gcpy/benchmark/modules/oh_metrics.py
    - Import replace_whitespace from gcpy.util module
    - Call replace_whitespace on ref_label and dev_label
    
    gcpy/benchmark/modules/benchmark_models_vs_obs.py
    - Import replace_whitespace from gcpy.util module
    - Call replace_whitespace on ref_label and dev_label
    - Initialize lon, lat, alt to zero (suggested by Pylint)
    - Align { } brackets
    
    gcpy/benchmark/modules/budget_ox.py
    - Move import gc higher in the list (suggested by Pylint)
    - Now use "from gcpy import constants" (suggested by Pylint)
    - Import replace_whitespace from gcpy.util module
    - Call replace_whitespace on devstr
    - Trim trailing whitespace (suggested by Pylint)
    
    gcpy/benchmark/modules/budget_tt.py
    - Move import gc higher in the list (suggested by Pylint)
    - Now use "from gcpy import constants" (suggested by Pylint)
    - Now use "from gcpy import util" (suggested by Pylint)
    - Remove "from glob import glob" (suggested by Pylint)
    - Call util.replace_whitespace on devstr
    - Trim trailing whitespace (suggested by Pylint)
    
    gcpy/benchmark/modules/budget_ox.py
    - Move import gc higher in the list (suggested by Pylint)
    - Now use "from gcpy import constants" (suggested by Pylint)
    - Import replace_whitespace from gcpy.util module
    - Call replace_whitespace on devstr
    - Trim trailing whitespace (suggested by Pylint)
    
    gcpy/benchmark/modules/ste_flux.py
    - Call util.replace_whitespace on devstr
    
    CHANGELOG.md
    - Updated accordingly
    
    Signed-off-by: Bob Yantosca <[email protected]>
    yantosca committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    cbee385 View commit details
    Browse the repository at this point in the history