baker-laboratory / rf_diffusion_all_atom

Public RFDiffusionAA repo
Other
288 stars 44 forks source link

schedule_cache_dir directory location causes permission errors #9

Open james-vincent opened 6 months ago

james-vincent commented 6 months ago

In the file diffusion.py, in the function def get_chi_betaT , at line 52, the location of schedule_cache_dir is set to the location of file:

schedule_cache_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'schedule_cache')

This means users must have write permission in the original source directory the programs is launched from.

This precludes using in a multiuser environment. We install once in a global location for all users and do not give write permission to that location.

I'm not familiar with running rfdiffusion, but there does not seem to be an option to override this particular cache directory.

Is there a way to specify another location for this cache?