KwanLab / Autometa

Autometa: Automated Extraction of Genomes from Shotgun Metagenomes
https://autometa.readthedocs.io
Other
40 stars 15 forks source link

:snake: Replace `attrs` with `dataclasses` #303

Open evanroyrees opened 1 year ago

evanroyrees commented 1 year ago

Prior to dataclasses availability within the python standard library, attrs was used. This may be replaced now to reduce the requirements list.

https://github.com/KwanLab/Autometa/blob/baf61c04dddf5b33bb825dba2841de1e38dffefe/autometa/binning/unclustered_recruitment.py#L76-L86

https://github.com/KwanLab/Autometa/blob/baf61c04dddf5b33bb825dba2841de1e38dffefe/make_test_data.py#L99-L100

https://github.com/KwanLab/Autometa/blob/baf61c04dddf5b33bb825dba2841de1e38dffefe/autometa-env.yml#L7

This is incorrectly labeled as a test-data requirement (it is, but attr is also used with the autometa-unclustered-recruitment module)