SchulzLab / TEPIC

Annotation of genomic regions using transcription factor binding sites and epigenetic data
MIT License
40 stars 9 forks source link

computeMeanRatioTFAffinities is not Python3.x compliant #24

Closed ghost closed 7 years ago

ghost commented 7 years ago

This script contains a condition like if dict.has_key(key): several times; the attribute has_key has been removed in Python3.x - these calls need to be replaced with the common Python idiom if key in dict: to make the script Python3 compliant.

Xethic commented 7 years ago

Hi,

thanks for the clue. We are aware of several scripts that currently break a python 3.x compliance. While preparing the software for the next publication(s) we def. have this on our list. ( I guess python 2.x support runs out on 2021).

Best,

Fabian

Florian411 commented 7 years ago

The has_key call is now replaced everywhere.