labstructbioinf / localpdb

Python package to manage protein structures and their annotations
MIT License
40 stars 5 forks source link

On Windows: db setup fails if C:\tmp\ does not exist already #15

Closed torogi94 closed 2 years ago

torogi94 commented 2 years ago

Hi!
When using localpdb on Windows machines, where C:\tmp\ does typically not exist, the setup of the local image fails (as no log file can be created there). It works when the tmp folder is manually created, though.

jludwiczak commented 2 years ago

Hi @torogi94 and thanks for sharing your observation. I must admit that localpdb wasn't tested thoroughly on Windows systems. We had an undocumented option to set the custom temporary file location, which now I made more visible both in the code and in the documentation. For now I'll close the ticket, feel free to open a new one in case you'll have further problems.