tirthajyoti / doepy

Design of Experiment Generator. Read the docs at: https://doepy.readthedocs.io/en/latest/
MIT License
143 stars 41 forks source link

Make doepy compatible with python<3.7 #15

Open Sigmun opened 2 years ago

Sigmun commented 2 years ago

add file encoding in headers and use "".format() instead of f"" strings

JoshuaAdrianJones commented 2 years ago

Could you wrap this in a conditional to check for python version rather than replacing a newer more pythonic version completely?

Sigmun commented 2 years ago

You'd rather have 2 lines for the same function just to deal with retro-compatibility than using the same function in every cases? I think you'll increase code maintenance load.