I'm thinking that copy_model should look at existing object names. If the same name already exists, it could create a model with name "my model (1)" or such.
Alternatively, the server could throw an error, and then the user would have to choose to overwrite the existing or name it whatever they want (with the original name already present in the input box).
I like the first option because the interaction is the fastest, but the patric workspace copy command works more like option 2. In any case, the copy_model command currently overwrites, which we probably don't want.
Thoughts?
I'm thinking that copy_model should look at existing object names. If the same name already exists, it could create a model with name "my model (1)" or such.
Alternatively, the server could throw an error, and then the user would have to choose to overwrite the existing or name it whatever they want (with the original name already present in the input box).
I like the first option because the interaction is the fastest, but the patric workspace copy command works more like option 2. In any case, the copy_model command currently overwrites, which we probably don't want.
Thoughts?