From e5362c32484a959899ea2d7e2ddba022a434809c Mon Sep 17 00:00:00 2001 From: Thomas Edward Kingstone Date: Fri, 19 Apr 2024 10:05:35 +0100 Subject: [PATCH 1/4] updated required pollination version to 1.46.0 --- .../ladybugtools_toolkit/ladybug_extension/datacollection.py | 2 +- LadybugTools_Engine/Query/IsPollinationInstalled.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LadybugTools_Engine/Python/src/ladybugtools_toolkit/ladybug_extension/datacollection.py b/LadybugTools_Engine/Python/src/ladybugtools_toolkit/ladybug_extension/datacollection.py index 55e67a91..32f83300 100644 --- a/LadybugTools_Engine/Python/src/ladybugtools_toolkit/ladybug_extension/datacollection.py +++ b/LadybugTools_Engine/Python/src/ladybugtools_toolkit/ladybug_extension/datacollection.py @@ -67,7 +67,7 @@ def collection_from_series(series: pd.Series) -> BaseCollection: header.metadata["source"] = "From custom pd.Series" freq = pd.infer_freq(series.index) - if freq in ["H"]: + if freq in ["H", "h"]: if series.index.is_leap_year.any(): if len(series.index) != 8784: raise ValueError( diff --git a/LadybugTools_Engine/Query/IsPollinationInstalled.cs b/LadybugTools_Engine/Query/IsPollinationInstalled.cs index df02775e..9f6d9d02 100644 --- a/LadybugTools_Engine/Query/IsPollinationInstalled.cs +++ b/LadybugTools_Engine/Query/IsPollinationInstalled.cs @@ -37,7 +37,7 @@ public static partial class Query [Description("Return True if Pollination is installed to the currently supported version.")] [Input("targetPollinationVersion", "The target Pollination version that BHoM currently supports.")] [Output("bool", "True if Pollination is installed to the currently supported version.")] - public static bool IsPollinationInstalled(string targetPollinationVersion = "1.35.14") + public static bool IsPollinationInstalled(string targetPollinationVersion = "1.46.0") { // check if referenced Python is installed string referencedExecutable = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ProgramFiles) + @"\ladybug_tools\python\python.exe"; From f7dc30cd5166d09653db42b678b61e46fb55e57c Mon Sep 17 00:00:00 2001 From: Thomas Edward Kingstone Date: Mon, 29 Apr 2024 11:27:56 +0100 Subject: [PATCH 2/4] fix unit test fail on radiance, namespace was changed for a method from result to util --- .../honeybee_extension/simulation/radiance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LadybugTools_Engine/Python/src/ladybugtools_toolkit/honeybee_extension/simulation/radiance.py b/LadybugTools_Engine/Python/src/ladybugtools_toolkit/honeybee_extension/simulation/radiance.py index da7dbb96..895005ca 100644 --- a/LadybugTools_Engine/Python/src/ladybugtools_toolkit/honeybee_extension/simulation/radiance.py +++ b/LadybugTools_Engine/Python/src/ladybugtools_toolkit/honeybee_extension/simulation/radiance.py @@ -13,7 +13,7 @@ from honeybee_radiance_command.options.rfluxmtx import RfluxmtxOptions from honeybee_radiance_command.options.rpict import RpictOptions from honeybee_radiance_command.options.rtrace import RtraceOptions -from honeybee_radiance_postprocess.results import _filter_grids_by_pattern +from honeybee_radiance_postprocess.util import _filter_grids_by_pattern from ladybug.analysisperiod import AnalysisPeriod from ladybug.wea import Wea from ladybug_geometry.geometry3d import Plane, Point3D From 9d96c6a769f1b8d4fcab3f925613a5c1f8ef9e73 Mon Sep 17 00:00:00 2001 From: Thomas Edward Kingstone Date: Fri, 10 May 2024 14:21:23 +0100 Subject: [PATCH 3/4] fixed quote marks around post build commands --- LadybugTools_Engine/LadybugTools_Engine.csproj | 2 +- LadybugTools_oM/LadybugTools_oM.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LadybugTools_Engine/LadybugTools_Engine.csproj b/LadybugTools_Engine/LadybugTools_Engine.csproj index 88117fd6..d7be82d8 100644 --- a/LadybugTools_Engine/LadybugTools_Engine.csproj +++ b/LadybugTools_Engine/LadybugTools_Engine.csproj @@ -84,6 +84,6 @@ - + diff --git a/LadybugTools_oM/LadybugTools_oM.csproj b/LadybugTools_oM/LadybugTools_oM.csproj index f6487814..c00489e3 100644 --- a/LadybugTools_oM/LadybugTools_oM.csproj +++ b/LadybugTools_oM/LadybugTools_oM.csproj @@ -38,6 +38,6 @@ - + From 5d4a2531a63afef063861be400882ea1da30cb42 Mon Sep 17 00:00:00 2001 From: Thomas Edward Kingstone Date: Fri, 10 May 2024 14:31:17 +0100 Subject: [PATCH 4/4] also fixed issue on robocopy command --- LadybugTools_Engine/LadybugTools_Engine.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LadybugTools_Engine/LadybugTools_Engine.csproj b/LadybugTools_Engine/LadybugTools_Engine.csproj index d7be82d8..8cdf22d6 100644 --- a/LadybugTools_Engine/LadybugTools_Engine.csproj +++ b/LadybugTools_Engine/LadybugTools_Engine.csproj @@ -81,7 +81,7 @@ - +