Skip to content

Commit

Permalink
Refactor file paths for exporting fish data in DesignExplorer.cs and …
Browse files Browse the repository at this point in the history
…Tunny.Core.csproj
  • Loading branch information
NATSUME Hiroaki committed Sep 27, 2024
1 parent b7d48be commit 4f0e489
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tunny.Core/Handler/DesignExplorer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private void OutputResultCsv()
{
PyModule ps = Py.CreateScope();
var assembly = Assembly.GetExecutingAssembly();
ps.Exec(ReadFileFromResource.Text(assembly, "Tunny.Core.Handler.export_fish_csv.py"));
ps.Exec(ReadFileFromResource.Text(assembly, "Tunny.Core.Handler.Python.export_fish_csv.py"));
dynamic storage = _storage.CreateNewOptunaStorage(false);
dynamic func = ps.Get("export_fish_csv");
string outputPath = Path.Combine(TEnvVariables.DesignExplorerPath, "design_explorer_data");
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Tunny.Core/Tunny.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
</PropertyGroup>

<ItemGroup>
<None Remove="Handler\export_fish_csv.py" />
<None Remove="Handler\Python\export_fish_csv.py" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Handler\export_fish_csv.py" />
<EmbeddedResource Include="Handler\Python\export_fish_csv.py" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4f0e489

Please sign in to comment.