Skip to content

Add optional parameter for flatfield and darkfield filenames#27

Open
AlexBarbera wants to merge 3 commits intoyuliu96:mainfrom
AlexBarbera:main
Open

Add optional parameter for flatfield and darkfield filenames#27
AlexBarbera wants to merge 3 commits intoyuliu96:mainfrom
AlexBarbera:main

Conversation

@AlexBarbera
Copy link

This PR adds 2 optional command line options that act as the file name for the flatfield and darkfield output names.

Currently they share the inputs basename, but this adds more flexibility and works better for nextflow patterns.
It also remains backwards compatible if the parameters are not used.

@jmuhlich
Copy link
Collaborator

jmuhlich commented Nov 4, 2025

It would probably be better to make --output-flatfield and --output-darkfield provide the entire output paths, bypassing the -ffp/-dfp suffixes and --output-folder value. This also means you'd want to check that the user passes either both --output-flatfield and --output-darkfield or only --output-folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants