Skip to content

Commit

Permalink
Bugfix for TSC test (#7)
Browse files Browse the repository at this point in the history
* Remove reference to baseline_component argument
Component and baseline_component are always the same, but this
reference somehow snuck past the last update

* Bump version number to 0.2.5
  • Loading branch information
mkstratos authored Jun 30, 2021
1 parent 8346359 commit 89d6b22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion evv4esm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

from __future__ import absolute_import, division, print_function, unicode_literals

__version_info__ = (0, 2, 4)
__version_info__ = (0, 2, 5)
__version__ = '.'.join(str(vi) for vi in __version_info__)

PASS_COLOR = '#389933'
Expand Down
4 changes: 2 additions & 2 deletions evv4esm/extensions/tsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ def main(args):
file_search_glob = '{d}/*{c}_????.h0.0001-01-01-?????.nc.{s}'
truth_ens = {instance: list(files) for instance, files in groupby(
sorted(glob.glob(file_search_glob.format(d=args.ref_dir, c=args.component, s='DT0001'))),
key=lambda f: e3sm.component_file_instance(args.baseline_component, f))}
key=lambda f: e3sm.component_file_instance(args.component, f))}

ref_ens = {instance: list(files) for instance, files in groupby(
sorted(glob.glob(file_search_glob.format(d=args.ref_dir, c=args.component, s='DT0002'))),
key=lambda f: e3sm.component_file_instance(args.baseline_component, f))}
key=lambda f: e3sm.component_file_instance(args.component, f))}

test_ens = {instance: list(files) for instance, files in groupby(
sorted(glob.glob(file_search_glob.format(d=args.test_dir, c=args.component, s='DT0002'))),
Expand Down

0 comments on commit 89d6b22

Please sign in to comment.