We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c7fff1 commit 6fa46b4Copy full SHA for 6fa46b4
docs/whats-new.rst
@@ -5,6 +5,13 @@ What's New
5
6
.. _whats-new.2.2.0:
7
8
+v2.2.2
9
+-------
10
+Bug fixes
11
+~~~~~~~~~
12
+- Fixed bug where `utc_offset` doesn't get converted to the
13
+ correct boolean when reading the configuration.
14
+
15
v2.2.l
16
------
17
Bug fixes
metsim/cli/ms.py
@@ -83,6 +83,12 @@ def to_list(s):
83
else:
84
forcing_files = conf['forcing']
85
86
+ if ('utc_offset' in conf.keys()
87
+ and conf['utc_offset'].strip().lower() == 'true'):
88
+ conf['utc_offset'] = True
89
+ else:
90
+ conf['utc_offset'] = False
91
92
# Update the full configuration
93
conf.update({"calendar": conf.get('calendar', 'standard'),
94
"scheduler": opts.scheduler,
0 commit comments