ProDy icon indicating copy to clipboard operation
ProDy copied to clipboard

fix mode ens for empty labels in addModeSets

Open jamesmkrieger opened this issue 3 years ago • 1 comments

Labels are needed for various downstream functions including getEigvecs and getArray so they need to be set no matter what. The if conditions we had inside the main if condition were already enough I think without it. They handle the two cases of no labels in the original object and no labels in the input to the function.

jamesmkrieger avatar Jun 07 '22 17:06 jamesmkrieger

@SHZ66, was there a reason for not setting them like this? Is it better to try and change the methods that need labels instead?

jamesmkrieger avatar Jun 09 '22 12:06 jamesmkrieger