rating as float

This commit is contained in:
Andreas Schröpfer
2021-03-03 19:59:11 +01:00
parent 6853af3b66
commit 148502d151
4 changed files with 14 additions and 3 deletions

View File

@@ -181,7 +181,14 @@ func XLSX(r io.Reader, conf *Conf) (*ecalc.Ecalc, error) {
if err != nil {
errs = append(errs, err)
}
set.Field(&aspect, c.Field, cellValue)
if cellValue == "" {
continue
}
err = set.Field(&aspect, c.Field, cellValue)
if err != nil {
fmt.Println(shortName, c.Field, cellValue)
fmt.Println(err)
}
}
topic.Aspects = append(topic.Aspects, aspect)
}