Maarten-vd-Sande / qnorm

Fast-ish (and correct!) quantile normalization in Python.
MIT License
28 stars 1 forks source link

import qnorm fails on python 3.5 #5

Open mheskett opened 3 years ago

mheskett commented 3 years ago

Description

Tried to import qnorm.

Traceback (most recent call last): File "myfile.py", line 16, in import qnorm File "//anaconda/lib/python3.5/site-packages/qnorm/init.py", line 2, in from .quantile_normalize import quantile_normalize File "//anaconda/lib/python3.5/site-packages/qnorm/quantile_normalize.py", line 76 f"quantile_normalize not implemented for type {type(data)}" ^ SyntaxError: invalid syntax

Maarten-vd-Sande commented 3 years ago

@mheskett thanks for the issue. Somehow I did not notice it, sorry for the late reply!

Indeed, qnorm does not work with python versions lower than 3.6. How did you install qnorm? From Anaconda, pypi (pip) or source (this github repo)? I thought it would give a warning/error when installing it from the wrong python version, but obviously it doesn't. If I know where it goes wrong I can solve it :)