You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: 'Series' object has no attribute 'clip_upper'
when running rna-import. This occurs on a fresh install on MacOS, and also affects the docker container. It seems to be related to pandas, which removed the clip_upper method in their 1.0 release in Jan 2020 (https://pandas.pydata.org/docs/whatsnew/v1.0.0.html#removal-of-prior-version-deprecations-changes). Reverting to pandas 0.25 fixes it. Specifying the dependency version or updating the clip_upper method to clip(upper=threshold) here:
cnvkit.py raises an issue
AttributeError: 'Series' object has no attribute 'clip_upper'
when running rna-import. This occurs on a fresh install on MacOS, and also affects the docker container. It seems to be related to pandas, which removed the clip_upper method in their 1.0 release in Jan 2020 (https://pandas.pydata.org/docs/whatsnew/v1.0.0.html#removal-of-prior-version-deprecations-changes). Reverting to pandas 0.25 fixes it. Specifying the dependency version or updating the clip_upper method to clip(upper=threshold) here:
cnvkit/cnvlib/rna.py
Line 267 in fa86632
Hope this helps.
The text was updated successfully, but these errors were encountered: