-
Notifications
You must be signed in to change notification settings - Fork 10
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
cdscan error with Python 3 #239
Labels
Comments
This is not an issue with the Python 2 version. |
Are you using python3? |
@dnadeau4 Yes, I believe I was. |
found it, there now variables.keys() return a dictionary instead of a list. |
cdscan
|
@durack1 This looks like a duplicate. The fix will be included with CDAT 8.2.1. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running a command like this:
with cdms 3.0 on a Python 3 env, I get the following error:
In Python 3,
dict.keys()
returns an object of typedict_keys
, not alist
. All that's needed is to dovarnames = list(varnames)
before any of the statements usingvarnames
, like the offending linevarnames.append(axisvar.id)
.The text was updated successfully, but these errors were encountered: