I'm grateful to users who have greatly helped to report bugs and suggested new features.
I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).
using current version of csvtk to convert xlsx file to csv ones, certain sheets contain no data, still want to output blank files instead of error mesg.
Thanks!
csvtk version
csvtk v0.24.0
$ csvtk xlsx2csv Tissue_and_TMA_for_Nanostring_RPed.xlsx -i 3 | csvtk csv2tab
[ERRO] xopen: no content
panic: runtime error: makeslice: len out of range
Prerequisites
csvtk version
Describe your issue
Thank you
I'm grateful to users who have greatly helped to report bugs and suggested new features.
I may respond to issues or fix bugs quickly, but I usually implement new features periodically (two or more weeks).
using current version of csvtk to convert xlsx file to csv ones, certain sheets contain no data, still want to output blank files instead of error mesg.
Thanks!
csvtk version csvtk v0.24.0
$ csvtk xlsx2csv Tissue_and_TMA_for_Nanostring_RPed.xlsx -i 3 | csvtk csv2tab [ERRO] xopen: no content panic: runtime error: makeslice: len out of range
goroutine 1 [running]: github.com/shenwei356/csvtk/csvtk/cmd.glob..func51(0x141a2a0, {0xc000187860, 0x1, 0x3}) /home/shenwei/shenwei/scripts/go/src/github.com/shenwei356/csvtk/csvtk/cmd/xlsx2csv.go:119 +0x666 github.com/spf13/cobra.(Command).execute(0x141a2a0, {0xc000187830, 0x3, 0x3}) /home/shenwei/shenwei/scripts/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:860 +0x5f8 github.com/spf13/cobra.(Command).ExecuteC(0x1417aa0) /home/shenwei/shenwei/scripts/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:974 +0x3bc github.com/spf13/cobra.(*Command).Execute(...) /home/shenwei/shenwei/scripts/go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:902 github.com/shenwei356/csvtk/csvtk/cmd.Execute() /home/shenwei/shenwei/scripts/go/src/github.com/shenwei356/csvtk/csvtk/cmd/root.go:71 +0x25 main.main() /home/shenwei/shenwei/scripts/go/src/github.com/shenwei356/csvtk/csvtk/main.go:54 +0x17