Skip to content

Commit

Permalink
fix(recipe): Fix bug when returning files
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Jun 28, 2023
1 parent 8dedb31 commit 3ff9a12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pollination/three_phase/three_phase/_multiply_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def multiply_threephase_matrix(
return [
{
'from': MatrixMultiplicationThreePhase()._outputs.output_matrix,
'to': 'temp/{{identifier}}.ill'
'to': 'temp/{{self.identifier}}.ill'
}
]

Expand All @@ -69,6 +69,6 @@ def binary_to_npy(
return [
{
'from': BinaryToNpy()._outputs.output_file,
'to': '../../results/{{light_path}}/{{state_id}}/total/{{grid_id}}.npy'
'to': '../../results/{{self.light_path}}/{{self.state_id}}/total/{{self.grid_id}}.npy'
}
]
2 changes: 1 addition & 1 deletion pollination/three_phase/three_phase/calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def daylight_mtx_calculation(
@task(
template=MultiplyMatrixDag,
loop=multiplication_info,
needs=[daylight_mtx_calculation],
needs=[calculate_view_matrix, daylight_mtx_calculation],
sub_paths={
'view_matrix': '{{item.vmtx}}',
't_matrix': 'bsdf/{{item.tmtx}}',
Expand Down

0 comments on commit 3ff9a12

Please sign in to comment.