RosettaCommons / protein_generator

Joint sequence and structure generation with RoseTTAFold sequence space diffusion
https://huggingface.co/spaces/merle/PROTEIN_GENERATOR
MIT License
263 stars 43 forks source link

utils/sampler.py #1

Closed FJ0M closed 1 year ago

FJ0M commented 1 year ago

in utils/sampler.py 'trajecotry' appears twice instead of 'trajectory', changing this fixes error in saving outputs.

line 778, in save_outputs
    torch.save(self.trajecotry, fname)
AttributeError: 'SEQDIFF_sampler' object has no attribute 'trajecotry'
0merle0 commented 1 year ago

Just pushed a fix for this, thanks!