From 82c389642093b2fa08915cace3329913337a7f3f Mon Sep 17 00:00:00 2001 From: Xiaopeng Zhu Date: Tue, 16 Mar 2021 05:56:32 -0400 Subject: [PATCH] fix divided by zero in blockMatrix if block not found --- cmd.go | 2 +- go.mod | 3 +-- go.sum | 16 ++++------------ 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/cmd.go b/cmd.go index b76791c..9c56ad3 100644 --- a/cmd.go +++ b/cmd.go @@ -10,7 +10,7 @@ import ( const ( //VERSION : Version of NucleServer - VERSION = "0.2.0" + VERSION = "0.2.2" //DIR : Default Directory for NucleServer DIR = ".nucle" ) diff --git a/go.mod b/go.mod index b91af22..0f6dcd6 100644 --- a/go.mod +++ b/go.mod @@ -7,9 +7,8 @@ require ( github.com/gorilla/mux v1.7.4 github.com/nimezhu/asheets v0.0.1 github.com/nimezhu/box v0.0.1 - github.com/nimezhu/data v0.0.3 + github.com/nimezhu/data v0.0.9 github.com/nimezhu/go.uuid v1.2.1 // indirect - github.com/nimezhu/indexed v0.0.6 // indirect github.com/nimezhu/nbdata v0.0.1 github.com/nimezhu/tbl2x v0.0.1 // indirect github.com/rhysd/go-github-selfupdate v1.2.2 diff --git a/go.sum b/go.sum index 9132eaa..dbda9c6 100644 --- a/go.sum +++ b/go.sum @@ -76,22 +76,14 @@ github.com/nimezhu/asheets v0.0.1 h1:IVkLN6JtvRPzonZeQFMTwpF77T21LIP+Todk6jVls/w github.com/nimezhu/asheets v0.0.1/go.mod h1:nWO4dqffc522kipWvPYiFrsPeRP11tDAC5ffatkx2Sg= github.com/nimezhu/box v0.0.1 h1:s6wrOycyu9mjXSL8FKnDX/fOacSJ4WIv7xXkTPHPzO4= github.com/nimezhu/box v0.0.1/go.mod h1:JKrfqZzYxxx0CVzzJQT4SlEPkWHLwYI0lnE6umK69QM= -github.com/nimezhu/data v0.0.2 h1:84A490p7hHHzm1oDnD0NuFRUd+OKWhtP9ASx7XSdqqA= -github.com/nimezhu/data v0.0.2/go.mod h1:9tkJ46LYfz0iCohtPPAJ58b7/Rwb2JHmzaY7hbuwd1o= -github.com/nimezhu/data v0.0.3 h1:/zi9NYZQOAF9wacaxMIdQX/eIFEy1XcTuodl8Y2+/Z4= -github.com/nimezhu/data v0.0.3/go.mod h1:tm0zKrBRdcbcjZMEsApV9YKpXVYaXqrbWDjgKtbqvdM= +github.com/nimezhu/data v0.0.9 h1:E2znaFH3TEXTgGjFJRXP02xtGPQNhiDELoIwOswRBac= +github.com/nimezhu/data v0.0.9/go.mod h1:MNy3blt8Wh+z37m3x1PeyTIK9p9DINagweCF/7rZ64Y= github.com/nimezhu/genomedb v0.0.0-20171213193052-ac8125365d5b h1:+CuqkNDKSNp2mwSqt164bCJJEH1ig/JE0bIZnliOcBM= github.com/nimezhu/genomedb v0.0.0-20171213193052-ac8125365d5b/go.mod h1:+85jdRQLPulFvHUYvBFmdCC4541mNC9J+WESIpL4Rp0= github.com/nimezhu/go.uuid v1.2.1 h1:hhchJInlG/UkkIATvlfwc2G5Lz2E6xlTJJOx3VmMP0E= github.com/nimezhu/go.uuid v1.2.1/go.mod h1:Xa533ZxO/7PwG039B8ZFziVc2Aw7Ksd1mknZxR0XdX8= -github.com/nimezhu/indexed v0.0.1 h1:uGSpGHji2SF01X4WQkDlXSm2trui4t2d1mCG2VSJHNA= -github.com/nimezhu/indexed v0.0.1/go.mod h1:VzrXw9whuVxHyPeBwIPG2bu91arEdNqttRaWGEKvcYY= -github.com/nimezhu/indexed v0.0.2 h1:muI4s8TH+2/184Bwhl46lzvpfzHtJS6TqIQJhoSNkYM= -github.com/nimezhu/indexed v0.0.2/go.mod h1:VzrXw9whuVxHyPeBwIPG2bu91arEdNqttRaWGEKvcYY= -github.com/nimezhu/indexed v0.0.3 h1:odUpvBSkpWm6gYVfTKcvImaCFV+3RROe1gTfPUEgznc= -github.com/nimezhu/indexed v0.0.3/go.mod h1:VzrXw9whuVxHyPeBwIPG2bu91arEdNqttRaWGEKvcYY= -github.com/nimezhu/indexed v0.0.6 h1:c5z8DQqQvxierUsX5YH8UUTuZDlZp9m+hJpZ1R3mWHg= -github.com/nimezhu/indexed v0.0.6/go.mod h1:VzrXw9whuVxHyPeBwIPG2bu91arEdNqttRaWGEKvcYY= +github.com/nimezhu/indexed v0.0.9 h1:MvP+tsOUpIPTd6ljjJegvmFwAw/1vHfoJOZuhSlccw0= +github.com/nimezhu/indexed v0.0.9/go.mod h1:VzrXw9whuVxHyPeBwIPG2bu91arEdNqttRaWGEKvcYY= github.com/nimezhu/nbdata v0.0.1 h1:xJR90qFMHKgLB0M634ALm0Wy0ITb/EdfOvabrdz5XMU= github.com/nimezhu/nbdata v0.0.1/go.mod h1:ST5v8CZLC5mAig78gCHKiFmGS+cNPP/2Fg0SWY+3WOQ= github.com/nimezhu/netio v0.0.0-20181023140452-2c1d703652df h1:yM8Fr0jgJ/rI/hu5LTImtPMZLUXCOQmAL3k2U4m62VU=