We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd0c235 commit e92e1d4Copy full SHA for e92e1d4
cc_plugin_cc6/cc6.py
@@ -51,7 +51,18 @@ def setup(self, dataset):
51
CORDEX_CMIP6_CMOR_TABLES_URL + "CORDEX-CMIP6_" + table + ".json",
52
filename,
53
tables_path,
54
- force="force_table_download" in self.options,
+ force="force_table_download" in self.options
55
+ and (
56
+ self.options["force_table_download"] is None
57
+ or (
58
+ isinstance(self.options["force_table_download"], bool)
59
+ and self.options["force_table_download"]
60
+ )
61
62
+ isinstance(self.options["force_table_download"], str)
63
+ and self.options["force_table_download"].lower() != "false"
64
65
+ ),
66
)
67
if os.path.basename(os.path.realpath(filename_retrieved)) != filename:
68
raise AssertionError(
0 commit comments