Remove deprecated user API's#603
Conversation
|
FWIW This could easily wait until v3.4 since that release is planned to have larger user-facing impacts. |
|
I agree with the spirit of this, and think we should do it, alongside 3.4 makes a lot of sense One idea I had is we could do something like:
What do you think? |
|
That sounds good, I think if we did the same with FLORIS like you say, it would be smaller so would be hopefully not too big of a lift, |
56bb8f3 to
ed98f16
Compare
|
@RHammond2 could I get your help here on the |
|
@rafmudaf, I think that there isn't really a great way to test this functionality at present, so I would vote for removing As a more general note, because that check is removed, the |
Ok sounds good to me. I think an error is a good result for a missing input, at this point. |
The error message is removed in a previous commit so the test is no longer relevant
I'm just realizing that this means example 18 should probably fail, as well as 18b whenever that's brought in. |
|
The last commit should take care of that |
|
@paulf81 we discussed capturing the changes to the input file per #603 (comment). I like it and it should certainly be added. Let's keep this pull request with the current scope and add those changes in a subsequent pr. |
Agreed! |
Remove user interface elements marked deprecated or to-be-removed
This pull request removes user-facing functions that were deprecated in v3 or v3.1 (see #488). All infrastructure has already dealt with these changes and they were left in place as a convenience to users.
Related issue
Impacted areas of the software
This impacts interfaces in
Floris.toolsand the turbine definition.Additional supporting information
The motivation for this is mostly to maintain a clean and consistent API. These could all be left in place, but the decisions to move away from them were made at one point for specific reasons. Rather than continuing to accumulate various warning messages and if-statements, I'd rather follow through with the intent and fully remove these functions acknowledging that it might cause headaches for some users.