TNO Intern

Commit 604d5c15 authored by Hen Brett's avatar Hen Brett 🐔
Browse files

Merge branch '83-fix-results-null-bug' into 'main'

Resolve "Fix results=null bug"

Closes #83

See merge request !100
parents 70ae1e43 e12d7cee
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -8,3 +8,11 @@ Additonally, setting of the THERMOGIS_JAR and JAVA_HOME environment variables ca
This is particularly useful for users who do not have admin rights.

We also recognise that having to replace the Jar file everytime we update it is clunky and we will be working hard to remove this necessity in future updates.

## v1.2.1 (21-11-2025)
Fixing a bug caused by the update in the Jar file. calculateDoubletPerformance in the Java source code returns Null if one of the optimizers failed. 
Pythermogis was still expecting a DoubletOutput class with all values set to -9999 in case of optimizer failure. 

Additionally:
    - two functions have been added to print out the environment variables THERMOGIS_JAR and JAVA_HOME. This enables users to debug if their are issues with their installation
+2 −2
Original line number Diff line number Diff line
@@ -4829,8 +4829,8 @@ packages:
  timestamp: 1740946648058
- pypi: ./
  name: pythermogis
  version: 1.2.0
  sha256: 50c9d857c9314b246b28d7e610647475414c718d839408818aa4f441813b51a7
  version: 1.2.1
  sha256: 0ae9336fdba95931a8e5b2b0ce4a61acd3bcd3c3d685b2292b11e436d43245b0
  requires_dist:
  - jpype1>=1.5.2,<2
  - xarray==2024.9.0.*
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pythermogis"
version = "1.2.0"
version = "1.2.1"
description = "This repository is used as a python API for the ThermoGIS Doublet simulations"
authors = [
    { name = "Hen Brett", email = "hen.brett@tno.nl" },