Open dotsdl opened 2 months ago
Hello @dotsdl! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
gufe/transformations/transformation.py
:Line 75:80: E501 line too long (80 > 79 characters) Line 283:80: E501 line too long (80 > 79 characters)
I can do that, no problem @IAlibay! I also need to fix the broken tests yet as well.
To be clear, this isn't blocking anything on alchemiscale
; it's just something @ianmkenney and I noticed while working on this one: https://github.com/openforcefield/alchemiscale/pull/270
@dotsdl possibly a crazy question - does this technically change the gufe keys for transformation objects? I can't remember if it captures the parent class signatures
(partly asking because of the test failures)
The follow up question I have is if we need a 1.x gufe policy on key stability?
In some cases it can be awkward for
NonTransformation
to be a subclass ofTransformation
, such as inalchemiscale
, for cases whereNonTransformation
should be handled very differently.Switching to a shared, abstract base class for
Transformation
andNonTransformation
simplifies this.