Skip to content

Commit

Permalink
Fix gxformat2 to .ga conversion if hide: true specified on output
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Nov 28, 2024
1 parent ee25b57 commit 9588467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gxformat2/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
'hide': {
'action_class': "HideDatasetAction",
'default': False,
'arguments': lambda x: x,
'arguments': lambda x: {},
},
'rename': {
'action_class': 'RenameDatasetAction',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_post_job_action_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_post_job_action_to_native(wf_template):
expected_value = {'tags': 'tag'}
elif isinstance(default_value, bool):
action_value = 'true'
expected_value = True
expected_value = {}
workflow_yaml = wf_template.format(action=action_key, action_value=action_value)
native = to_native(workflow_yaml)
pja_class = POST_JOB_ACTIONS[action_key]['action_class']
Expand Down

0 comments on commit 9588467

Please sign in to comment.