More Pythonic cleanups. NFC.

This commit is contained in:
Arthur O'Dwyer
2017-04-15 23:07:28 -07:00
parent a2260cdaf6
commit e094160dcd
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ def __getDescriptors(bondFacet, source, destination):
def __allOppositeMappings(mappings):
return len([m for m in mappings if m.label != slipnet.opposite]) == 0
return all(m.label == slipnet.opposite for m in mappings)
def __structureVsStructure(structure1, weight1, structure2, weight2):