pepkit / looper

A job submitter for Portable Encapsulated Projects
http://looper.databio.org
BSD 2-Clause "Simplified" License
20 stars 7 forks source link

Enum type for entity level type/name #360

Closed vreuter closed 1 month ago

vreuter commented 1 year ago

We have the notion of "project"-level and "sample"-level entities and operations. Right now, some of the behavioral and messaging differences for these concepts are controlled through passing the strings "sample" or "project" to toggle between the two. This should be better formalized at the type level with an enum type to disambiguate, which would likely allow better editor hints and type annotation / checking.

donaldcampbelljr commented 3 months ago

This could be tackled along with the pipestat refactoring.

donaldcampbelljr commented 1 month ago

Ok, I added this enum and did some refactoring for the upcoming 1.8.0 release.