-
Notifications
You must be signed in to change notification settings - Fork 4
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
Possible syntax error regarding a HoverTool attribute and use of iteritems on a Series #59
Comments
We took a look at this and Bokeh deprecated |
Thanks @jolespin & @411an13! @yangchen2 can you try these changes out and see if they address this problem? Relevant to #55 |
@411an13 Was this with the PyPI version of Qadabra? Installing directly from GitHub should, I think, resolve these. I'll try to get an updated version on PyPI soon. |
I'm not sure how snakemake works exactly but are there yaml files for the conda environments used in the backend? |
We have a folder with several env yamls (https://github.com/biocore/qadabra/tree/main/qadabra/workflow/envs) but most of the dependencies are not pinned. |
Awesome, I think that's the move right there. Basically finding which tool uses the deprecated Bokeh and pinning the 2.4.3 version. Same with pandas and finding out which tool is still using iteritems for pd.Series and pinning the 1.5.3 version. |
Yes, this was with the version installed using pip/PyPI |
Great, thanks for confirming. I'll try to get a new release out in the next couple of days. |
Thank you! |
|
Thank you. I tried again with the latest version from PyPi and the workflow ran completely without erroring out. |
Thanks Allan and Josh, and Gibs for your help! |
Below is a snippet from the log of a recent Qadabra run that seems to have ended due to 2 errors. From what I can tell, the first one occurs in
plot_rank_comparison.py
in the linehover = HoverTool(mode="mouse", names=["points"], attachment="below")
because it was expectingname
instead ofnames
. The second seems to occur inplot_pca.py
becauseiteritems
is called on a Series instead ofitems
. I checked the log files but they did not shed any more light on the errors.Given that these might be relatively quick fixes if they are indeed what caused it to error out, could you please let me know if this issue has been encountered before?
Here is the snippet from the log:
The text was updated successfully, but these errors were encountered: