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

Updates CIME imports #6550

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cime_config/customize/case_post_run_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"""
import os
from CIME.XML.standard_module_setup import *
from CIME.utils import new_lid, run_and_log_case_status
try:
from CIME.utils import new_lid, run_and_log_case_status
except ImportError:
from CIME.utils import new_lid
from CIME.status import run_and_log_case_status
Comment on lines +6 to +10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't be slightly more preferable to simply do the second and ensure we are always using a recent CIME? Or is backward compatibility (i.e., peeling back cime) important in this context?


logger = logging.getLogger(__name__)

Expand Down
Loading