tcrdist3 icon indicating copy to clipboard operation
tcrdist3 copied to clipboard

Added support on pandas version 1.5.0+ due to the issue caused by **pandas.DataFrame.iteritems**.

Open OumaeKaede opened this issue 1 year ago • 3 comments

Dear @kmayerb Since Pandas version 1.5.0, pandas announced to romove the function pandas.DataFrame.iteritems in the future version of pandas, especially pandas v2.2.1 in 2024.

See https://pandas.pydata.org/pandas-docs/version/1.5/reference/api/pandas.DataFrame.iteritems.html

I've discovered the issue caused by function pandas.DataFrame.iteritems in tcrdist v0.2.2 in gene_pairing_plot.py/rep_diff.py/summarize.py when installing Pandas version later than 1.5.0. However, the automatic installing of tcrdist3 in pip will install the lastest version of pandas and some of the fresh pythoners will not discover the problem caused by pandas.

Thus makes the change. (I've tested that all changes can work correctly.) Best wishes Oumae Kaede in KI

OumaeKaede avatar Feb 26 '24 04:02 OumaeKaede

Thanks for taking the time to make a pull request. Looks like we need to find all instances of .iteritems() !

kmayerb avatar Mar 05 '24 01:03 kmayerb

Hi @kmayerb, will this change soon be available on the master branch and PyPI? Thank you!

pavlovicmilena avatar Jun 21 '24 10:06 pavlovicmilena

This change should now be updated in PiPY version

pip install tcrdist3==0.3

kmayerb avatar Aug 30 '24 16:08 kmayerb