Closed kalekundert closed 2 years ago
Regarding breaking on commas: I could change my scripts to use spaces when concatentating reagent names like that.
One problem is that tabulate()
works out column widths after resolving newlines. This makes sense (columns widths depend how the lines break), but it means that this feature won't be trivial to implement.
An alternative solution (which ties in with #35) is to allow reaction tables to indicate which column(s) should be truncated. This would still mean some information is lost, but the most important information (i.e. the volumes) would not be.
I'm not planning to address this issue anymore, for two reasons:
Reactions
framework, I am much less likely to get these kinds of long lines.
For example, when making 16 plasmids at once, the primer list gets very long:
tabulate()
already supports newlines, so I would need to:textwrap.wrap()
. In the above case, it'd be nice to break on a comma, but I'm not sure if there's a general way to do that.