griffithlab / civicpy

A python interface for the CIViC db application
MIT License
9 stars 5 forks source link

fix: stay compatible with pandas >=2.0 #140

Closed dameyerdave closed 7 months ago

dameyerdave commented 1 year ago

I had a problem running search_variants_by_coordinates from civicpy. After a bit of research I could figure out what the problem is: Because of some implementation changes in pandas version >=2.0 a index series can no longer be intersected using the & operator, but a set can. I found the valuable hint to this problem here https://linuxhint.com/panda-series-intersection/.

I hope you find this useful and you would merge this pull request.

susannasiebert commented 7 months ago

@dameyerdave Thank you for this fix. We just released version 3.1.0, which includes this update.