geminiplanetimager / gpi_pipeline

Gemini Planet Imager Data Reduction Pipeline
Other
8 stars 6 forks source link

Added instructions to enable file overwriting #103

Closed semaphoreP closed 7 years ago

semaphoreP commented 7 years ago

Is setting it by hand the best way to do it? Or is there an programmatic API that can modify the overwrite file setting?

mperrin commented 7 years ago

Huh, never thought about this. (I've had the overwrite setting turned on for years long enough to entirely forget about it until now)

You could imagine some snippet of code that modifies the value of the usersettings array inside the common block used by gpi_get_setting. But nothing like that exists now.

semaphoreP commented 7 years ago

Hmm.. it seems like just having the user check to make sure overwrite is set is the easiest thing to do then? I don't think we need to overengineer this.

mperrin commented 7 years ago

yes I agree