Homec4science

use a job name with the mask hash for results naming

Authored by daniel j. white <dan@chalkie.org.uk> on Jul 28 2015, 13:05.

Description

use a job name with the mask hash for results naming

Make sure the results window, pdf file name and doc forst line, and
SingleWindowDisplay title, and also the ValueResults list in the
DataContainer all have the same jobName text. This contains the two
input image names, the maskHash from imglib2 as a hopefully unique
identifier, so the extra file naming in the PDFWriter isnt needed, as
the mask hash will make it unique per mask, ROI,, run, and even with no
user selected mask or RIO... as imglib2 always seems to have one for us.

But why so much copy paste code in the three DataContainer methoods? Can
it be simplified? I had to write the same line three times... that cant
be good.

Details

Committed
daniel j. white <dan@chalkie.org.uk>Aug 30 2015, 15:49
Pushed
oburriMar 8 2018, 18:06
Parents
R6269:d2734712c33c: write coloc job name at top of PDF output
Branches
Unknown
Tags
Unknown

Event Timeline

daniel j. white <dan@chalkie.org.uk> committed R6269:fc2457b0af79: use a job name with the mask hash for results naming (authored by daniel j. white <dan@chalkie.org.uk>).Aug 30 2015, 15:49