Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Fix #320
Browse files Browse the repository at this point in the history
Make sure the correct file dialog is invoked in enso_nino34
  • Loading branch information
Janis Gailis committed Sep 5, 2017
1 parent dce7627 commit 18aee6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cate/ops/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@


@op(tags=['index', 'nino34'])
@op_input('file', file_open_mode='w', file_filters=[dict(name='NetCDF', extensions=['nc']), _ALL_FILE_FILTER])
@op_input('file', file_open_mode='r', file_filters=[dict(name='NetCDF', extensions=['nc']), _ALL_FILE_FILTER])
@op_input('var', value_set_source='ds', data_type=VarName)
def enso_nino34(ds: xr.Dataset,
var: VarName.TYPE,
Expand Down

0 comments on commit 18aee6e

Please sign in to comment.