Skip to content

Commit

Permalink
change dictionary to ordered dict
Browse files Browse the repository at this point in the history
  • Loading branch information
glemieux committed May 24, 2024
1 parent de8c0a3 commit cd04c06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cime_config/SystemTests/systemtest_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

import os, subprocess, re, glob
from collections import OrderedDict


def cmds_to_setup_conda(caseroot):
Expand Down Expand Up @@ -99,7 +100,7 @@ def find_user_nl_option(caseroot, component, namelist_option):
raise RuntimeError("No user_nl files found for component " + component)

# Read through the file list and look for a match and return the whole entry
output = {}
output = OrderedDict()
for one_file in file_list:
with open(one_file, "r") as user_nl_file:
user_nl_text = user_nl_file.read()
Expand Down

0 comments on commit cd04c06

Please sign in to comment.