Closed ctb closed 1 month ago
https://github.com/dinkum-bio/dinkum/pull/36 now does a few more nice things with custom activation classes:
input_genes
is not given to __init__
, retrieve them from __call__
;Gene
objects are allowed for input_genes
;gonna close this based on that PR.
As of https://github.com/dinkum-bio/dinkum/pull/36, we can now do:
and also:
a few thoughts -
__call__
more generic? so that we don't have to specify the gene names?or maybe make the__init__
more generic? It seems duplicative to have to specify gene names twice.ideally (...) there would be a way to never specify the gene names, right? Except ... how would dinkum know what to feed in! and how would the function know what to run!? value: think about multiple and, multiple or... I guess we could provide some template examples. and/or class level things, where it picks up info from the initial class.