SBRG / pymodulon

Python package for analyzing and visualizing iModulons
MIT License
11 stars 13 forks source link

Setter for iModulon names #42

Closed sapoudel closed 3 years ago

sapoudel commented 3 years ago

Would it make sense to have a setter for iModulon names i.e. instead of having to call rename_imodulons function, you can just rename with: ica_data.imodulon_names = new_names

where new_names is just a list or iterable with new set of names.

The setter can internally call rename_imodulon function with dict(zip(old_names, new_names)).

avsastry commented 3 years ago

Fixed in 412400081474e616adfc18fc14d98ea833ace30b