Remove useless print
This commit is contained in:
parent
8d74dffc23
commit
0fb50feebb
|
@ -100,7 +100,6 @@ exports.run = async (application, param, tmp_path) => {
|
||||||
for (var scenario in results.results) {
|
for (var scenario in results.results) {
|
||||||
var value = results.results[scenario];
|
var value = results.results[scenario];
|
||||||
value.forEach(building_info => {
|
value.forEach(building_info => {
|
||||||
console.log(building_info)
|
|
||||||
const base_line = `"${scenario}";"${building_info.building}";${building_info.total_heating_area};${building_info.year_of_construction};${building_info.function}`
|
const base_line = `"${scenario}";"${building_info.building}";${building_info.total_heating_area};${building_info.year_of_construction};${building_info.function}`
|
||||||
let meb = `${base_line}`
|
let meb = `${base_line}`
|
||||||
building_info['insel meb'].yearly_cooling_demand.forEach(element => meb = `${meb};${element}`)
|
building_info['insel meb'].yearly_cooling_demand.forEach(element => meb = `${meb};${element}`)
|
||||||
|
@ -189,7 +188,7 @@ exports.run = async (application, param, tmp_path) => {
|
||||||
`${operational_co2_header}\n${operational_co2_lines.join('\n')}`,
|
`${operational_co2_header}\n${operational_co2_lines.join('\n')}`,
|
||||||
function (err) { console.log(err ? err : 'operational_co2 saved') }
|
function (err) { console.log(err ? err : 'operational_co2 saved') }
|
||||||
)
|
)
|
||||||
BrowserWindow.fromId(1).webContents.send('task-completed', `<a href="${tmp_path}/retrofit_meb.csv">meb</a><br /><a href="${tmp_path}/retrofit_cost.csv">costs</a><br /><a href="${tmp_path}/retrofit_operational_co2.csv">operational_co2</a>`)
|
BrowserWindow.fromId(1).webContents.send('task-completed', `<h3>${meb_lines.length} results returned</h3><br /> <a href="${tmp_path}/retrofit_meb.csv">meb</a><br /><a href="${tmp_path}/retrofit_cost.csv">costs</a><br /><a href="${tmp_path}/retrofit_operational_co2.csv">operational_co2</a>`)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log('unautorized retrofit')
|
console.log('unautorized retrofit')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user