Energy-Pathways-Group / GLOceanKit

Tools for physical oceanography in Matlab and Objective-C
22 stars 11 forks source link

Throw error on -addOperation in one with an existing name is already in place #61

Closed JeffreyEarly closed 1 year ago

JeffreyEarly commented 2 years ago

The idea is that we have an optional argument, -addOperation:overwriteExisting, which lets you make a choice. By default it would throw an error if one already exists, forcing you to make a choice to either rename the output variables or actually overwrite.

JeffreyEarly commented 1 year ago

Implemented this a while back.