Skip to content

Commit

Permalink
Fix excel v1 timeseries type
Browse files Browse the repository at this point in the history
  • Loading branch information
Erikvv committed Oct 7, 2024
1 parent 6270aa4 commit 7dbcdcc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ data class CompanyDataDocument(
.getRow(this.row)
.getCell(this.col.toInt())


private fun getNumericField(field: String): Double {
val cell = getSingleCell(field)
return cell.numericCellValue
Expand Down Expand Up @@ -435,7 +434,7 @@ data class CompanyDataDocument(
val values = getArrayField(fieldName)

return TimeSeries(
type = TimeSeriesType.ELECTRICITY_DELIVERY,
type = type,
start = start,
timeStep = when (type) {
TimeSeriesType.GAS_DELIVERY -> 1.hours
Expand Down

0 comments on commit 7dbcdcc

Please sign in to comment.