You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
When serializing a workflow to JSON, Cate should not generate input entries for operations steps whose input values are either not given or are equal to the operation input's default value.
Actual behavior
Input entries are always generated for every input. For example a step that invokes read_netcdf with just the file input will look like::
This forces incompatibilities if an operation's input name or type changes in the future. For example, I just renamed the harmonize input into normalize for operation open_dataset`. Now all "old" workspaces don't work anymore.
Steps to reproduce the problem
Create a workspace
Add some step with multiple defaults, e.g. read_netcdf
Save workspace myspace
Inspect myspace/.cate-workspace/workflow.json
Specifications
Cate 0.9.0dev3
The text was updated successfully, but these errors were encountered:
Expected behavior
When serializing a workflow to JSON, Cate should not generate input entries for operations steps whose input values are either not given or are equal to the operation input's default value.
Actual behavior
Input entries are always generated for every input. For example a step that invokes
read_netcdf
with just thefile
input will look like::This forces incompatibilities if an operation's input name or type changes in the future. For example, I just renamed the
harmonize
input intonormalize for operation
open_dataset`. Now all "old" workspaces don't work anymore.Steps to reproduce the problem
read_netcdf
myspace
myspace/.cate-workspace/workflow.json
Specifications
Cate 0.9.0dev3
The text was updated successfully, but these errors were encountered: