-
Notifications
You must be signed in to change notification settings - Fork 168
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
Replace drop_sel with drop_var everywhere in __main__.py #505
Conversation
We received "ValueError: the first argument to .drop_sel must be a dictionary" as mentioned in monocongo#495. Replacing .drop_sel with .drop_var resolved the issue. A similar fix was proposed in monocongo#493, but some calls to .drop_sel remained.
Thanks for this @dawiedotcom This PR makes me (finally!) realize that we lack any tests around the main processing script, so no real way to quickly validate changes to that code. GitHub Actions seems to be down for now so I'll wait a day or two before looking at this again, but if the builds all work as before (I don't suspect they've been broken) then I don't see any reason to not merge as-is. Thanks again @dawiedotcom for your help on this! |
@monocongo Happy to contribute and thank you for the merge. |
Pull code from the latest master branch which should contain the edits
already. The release available from PyPI will soon be updated with the
latest fixes, but for now, the easiest way is to just do a fresh repository
clone from the master branch.
…On Mon, Apr 3, 2023 at 7:28 PM xeimyname1 ***@***.***> wrote:
Hi, I am new to python and I am encountering the problem stated in #495
<#495> . How do I edit
*main*.py if using a virtual env. Thanks
—
Reply to this email directly, view it on GitHub
<#505 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKEIHTMD2XZ46DPHD6IQMDW7NMIXANCNFSM6AAAAAAWL67S2U>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks James. I was able to run it already.
Noong Huw, Abr 6, 2023 nang 4:29 AM, sinulat ni James Adams <
***@***.***> ang:
… Pull code from the latest master branch which should contain the edits
already. The release available from PyPI will soon be updated with the
latest fixes, but for now, the easiest way is to just do a fresh repository
clone from the master branch.
On Mon, Apr 3, 2023 at 7:28 PM xeimyname1 ***@***.***> wrote:
> Hi, I am new to python and I am encountering the problem stated in #495
> <#495> . How do I
edit
> *main*.py if using a virtual env. Thanks
>
> —
> Reply to this email directly, view it on GitHub
> <
#505 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAKEIHTMD2XZ46DPHD6IQMDW7NMIXANCNFSM6AAAAAAWL67S2U
>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#505 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6U4Q7ZESEXVS7NTMSBRBYTW7W2XLANCNFSM6AAAAAAWL67S2U>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have a trouble in this package (Unvalid L-moments) |
When running the examples from the documentation using the example dataset, we received "ValueError: the first argument to .drop_sel must be a dictionary".
A similar issue was discussed in #495. A fix was proposed in #493, but some calls to .drop_sel remained.
Replacing .drop_sel with .drop_var everywhere in src/climate_indices/main.py resolved the issue.