wtsi-hgi / Automated-Enhancer-Gene-SCRAMBLEr

A tool to help automate the Genome Scramble project
MIT License
0 stars 1 forks source link

Make 'Magic Values' constants at the top of the module. #10

Open KMace opened 1 year ago

KMace commented 1 year ago

https://github.com/wtsi-hgi/Automated-Enhancer-Gene-SCRAMBLEr/blob/d1c9b6ffae691382e728e30d93f95589a81eafee/find_metrics.py#L68

Things that are constants such as these should be declared at the top of the program, see https://www.freecodecamp.org/news/clean-coding-for-beginners/ for more info.