bioinf-jku / FCD

Fréchet ChemNet Distance: A quality measure for generative models for molecules
GNU Lesser General Public License v3.0
68 stars 26 forks source link

Use the class variable __PAD_LEN in the SmilesDataset class #17

Closed hogru closed 3 months ago

hogru commented 3 months ago

A minor change which just uses the existing class variable. Does not change functionality in my opinion.

renzph commented 3 months ago

Hi @hogru, Thanks so much for the input. I added a more comprehensive solution to the current version at https://github.com/bioinf-jku/FCD/blob/f806d583cbf3f2ff0f0843f23813a4f053535404/fcd/utils.py#L112.

I think that should solve the problem.