I am parsing file names for doses. Except that one half of the files don’t have the value in their name. I have a way to filter them out in CellProfiler, but then the dose value is set to “None” during metadata extraction.
As a result, I cannot tell Cellprofiler that the doses are floats.
Is there a way to specify that the default value should be 0 ?
I’m afraid not (as far as I know). There are two work arounds that I can think of:
- Change the file names to add the dose of zero, using some command line tool
- provide the dose information in a separate file (i forget if it’s text or csv) for all samples.
Not ideal but maybe helpful. Let us know if you need more info.