()
| 386 | } |
| 387 | |
| 388 | func DefaultModelRatio2JSONString() string { |
| 389 | jsonBytes, err := json.Marshal(defaultModelRatio) |
| 390 | if err != nil { |
| 391 | common.SysError("error marshalling model ratio: " + err.Error()) |
| 392 | } |
| 393 | return string(jsonBytes) |
| 394 | } |
| 395 | |
| 396 | func GetDefaultModelRatioMap() map[string]float64 { |
| 397 | return defaultModelRatio |
no test coverage detected