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

Simplify codes #928

Merged
merged 23 commits into from
Apr 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
Update mjo_metrics_driver.py
  • Loading branch information
lee1043 committed Apr 28, 2023
commit ea0f04b6af7ef78a9e21b949b9ebfb2ebd1cd9c2
3 changes: 1 addition & 2 deletions pcmdi_metrics/mjo/mjo_metrics_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@

# Create output directory
for output_type in ["graphics", "diagnostic_results", "metrics_results"]:
if not os.path.exists(outdir(output_type=output_type)):
os.makedirs(outdir(output_type=output_type))
os.makedirs(outdir(output_type=output_type), exist_ok=True)
print(outdir(output_type=output_type))

# Generate CMEC compliant json
Expand Down