deconwolf icon indicating copy to clipboard operation
deconwolf copied to clipboard

Specify the directory where .raw is written during tiled deconvolution

Open felixS27 opened this issue 9 months ago • 5 comments

Hi, first of all thanks for this great tool! Is is working very well for me so far. I only have one hopefully minor question/suggestion. Would it be or is it somehow possible to change the directory where the .raw file is written during the tiled deconvolution? Thank you so much! Best, Felix

felixS27 avatar Mar 24 '25 12:03 felixS27

Hi,

Yes, that seems useful.

Proposal: dw should:

  1. Accept a --tempdir option, if it is not specified dw should look for the
  2. environmental variable DW_TEMPDIR and as a final resort
  3. use the current folder

let me know if you have any other suggestions.

Cheers, Erik

elgw avatar Mar 24 '25 14:03 elgw

Hi Erik, this sounds awesome. This would be exactly what I was thinking. Thank you. Cheers, Felix

felixS27 avatar Mar 24 '25 15:03 felixS27

Hello,

Your proposal is included from version 0.4.6.

The temporary folder name is resolved by these steps:

  1. Looks for the --tempdir command line option.
  2. Looks for environmental variable DW_TEMPDIR
  3. Uses the folder of the output file.

I've only tested it under linux so far, and if you want to use it, please build from the dev branch.

I will update the main branch and release a new installer after it has been tested under windows. That will probably not happen this week.

Cheers, Erik

elgw avatar Mar 25 '25 09:03 elgw

Thank you so much for this fast addition!!!! Awesome. I will try it out as soon as possible :) Thank you so much!

felixS27 avatar Mar 25 '25 12:03 felixS27

Just tested it inside a container and it is working excellent! Thank you so much!!!

felixS27 avatar Mar 25 '25 13:03 felixS27