Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.9.1 #216

Merged
merged 2 commits into from
Dec 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

Please see [here](https://github.com/hrntsm/Tunny/releases) for the data released for each version.

## [v0.9.1] -2023-12-30

### Fixed

- Error generated due to missing path in settings on first startup.

## [v0.9.0] -2023-12-30

### Added
Expand Down
8 changes: 7 additions & 1 deletion Tunny/Settings/TunnySettings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.IO;
using System.Reflection;

using Newtonsoft.Json;
Expand All @@ -16,7 +17,12 @@ public class TunnySettings
public void Serialize(string path)
{
string json = JsonConvert.SerializeObject(this, Formatting.Indented);
System.IO.File.WriteAllText(path, json);
string dirPath = Path.GetDirectoryName(path);
if (!Directory.Exists(dirPath))
{
Directory.CreateDirectory(dirPath);
}
File.WriteAllText(path, json);
}

public static TunnySettings Deserialize(string json)
Expand Down
2 changes: 1 addition & 1 deletion Tunny/Tunny.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<Version>0.9.0</Version>
<Version>0.9.1</Version>
<Title>Tunny</Title>
<Description>Tunny is an optimization component wrapped in optuna.</Description>
<TargetExt>.gha</TargetExt>
Expand Down
2 changes: 1 addition & 1 deletion Tunny/TunnyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Tunny
public class Tunny : GH_AssemblyInfo
{
public override string Name => "Tunny";
public override string Version => "0.9.0";
public override string Version => "0.9.1";
public override Bitmap Icon => Resource.TunnyIcon;
public override string Description => "Tunny is an optimization component wrapped in optuna.";
public override Guid Id => new Guid("01E58960-AFAA-48FF-BC90-174FDC4A9D64");
Expand Down
4 changes: 2 additions & 2 deletions Yak/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Tunny
version: 0.9.0
version: 0.9.1
authors:
- hrntsm
- hrntsm
description: 🐟Tunny🐟 is Grasshopper's optimization component using Optuna, an open source hyperparameter auto-optimization framework. Tunny includes some features such as multi-objective optimization with constraint, Quasi-MonteCarlo sampling and dashboards for results analysis etc.
url: https://tunny-docs.deno.dev/
keywords:
Expand Down
Loading