sharppy / SHARPpy

Sounding/Hodograph Analysis and Research Program in Python
https://sharppy.github.io/SHARPpy/index.html
Other
216 stars 112 forks source link

SPCWindow rmProfileCollection Method Fix #112

Closed aarande closed 7 years ago

aarande commented 7 years ago

Added return statement to except statement in rmProfileCollection...this is consistent with the same logic in the setProfileCollection method above it. Without this return statement when a profile does not exist to be removed it continues on after the except and triggers errors in the following code since pc_idx variable is never set.

aarande commented 7 years ago

Closing this pull request as the fix was included in my pull request for #110 since I committed it to the same branch.