How to save the downloaded data for the function get_injection_density?

Hi,

I was using the function get_injection_density(), from the module allensdk.core.mouse_connectivity_cache, and I was seeing that every time it downloaded the data. Also, that exists one option to use the data that was previously downloaded. But I can’t figure out how to activate the option. Anyone could help me? Thanks!

@SamyCN89

Since this is a specific AllenSDK question, may I suggest that you post your question in the AllenSDK github?

AllenInstitute/AllenSDK: code for reading and processing Allen Institute for Brain Science data (github.com)

Thank you @lydian !
Btw, I solved the problem. There is a argument in the funciton to specify the path of the file (filename=‘string’), in which it will be saved.