shenwei356 / csvtk

A cross-platform, efficient and practical CSV/TSV toolkit in Golang
http://bioinf.shenwei.me/csvtk
MIT License
992 stars 84 forks source link

Add mutate3 command using Expr language #268

Closed moorereason closed 4 months ago

moorereason commented 4 months ago

I'm submitting this PR so that others can evaluate the Expr language engine.

I intentionally made the first commit in this PR so that it would be a little easier to see that I mostly just copied the mutate2.go file. The second commit is a little noisy since I moved the core logic into a separate function, which made unit testing must simpler.

Thanks for evaluating this PR.

Updates #172

shenwei356 commented 4 months ago

It's a mazing, appreciate it! @moorereason