Skip to content

Commit

Permalink
Merge pull request #118 from ACME-Climate/multiprocess_fix
Browse files Browse the repository at this point in the history
Multiprocess fix
  • Loading branch information
zshaheen authored Jan 11, 2018
2 parents 5351f2a + 71f10e7 commit 90c6537
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions acme_diags/driver/zonal_mean_2d_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ def run_diag(parameter):
ref_name = parameter.ref_name
regions = parameter.regions

if getattr(parameter, 'multiprocessing', False):
# only force mpl when running with multiprocessing
parameter.backend = 'mpl'

for season in seasons:
try:
filename1 = utils.get_test_filename(parameter, season)
Expand Down

0 comments on commit 90c6537

Please sign in to comment.