I'm doing lots of calculations for my PhD, and I have tons of results.
Each calculation has four parameters that can change. And each file with
result is named after those arguments, so I can find the relevant
The filter functionality in ROX is extremly useful, because for example
I can set a filter to:
And I will see only pictures with results where parameter d=20, while
all the other parameters change. Or I can set it to:
And I will see the respective gnuplot source files for s=3 and p=200,
while the other two parameters are shown with all values.
You can see that actually I'm using ROX filters to look at a
cross-section result of exploring four dimensional space.
All those files are automatically generated by some script so I have
hundreds of them. Today I'll write another script that will analyze
them, and tell me things I need to know. But nonetheless being able to
use the filter is great because I can look at the stuff and have a
feeling of the results.
But I have ran several calculations in different directories, in each
directory for a different case of input data. I have only four
parameters, but I can supply different input data (photographs of
concrete speciemen from digital camera, actually)
So I have different directories, and I need to browse them using filter
mask. The problem is that with the filter enabled rox doesn't show me the
directories, so I cannot browse. I must very often toggle the filter on
and off. Try doing this, and you will see that this is not
straighforward easy or quick.
Also filtering directories is very useful, so we cannot remove this
functionality, we need to add a new one:
The solution is to add a new flag that toggles 'filter directories' so
that the filter can apply to directories or not. And the user can choose.
So I have added a new position in the menu Display->Filter Directories,
perhaps you guys can think of different name.. dunno, maybe 'Toggle
directory filtering'. I don't know.
This patch is against 2.4.1 (sorry I didn't update rox when new release
was out...). But I really hope that it won't be very disturbing to use
this patch in 2.5 release. If it's really a trouble then tell me so, and
I will send the patch for 2.5.
Of course this patch can have some mistakes, so please have a look at it
- I have never before sent you a patch for rox :) For example maybe that
function display_set_filter_directories should not call
display_update_hidden but a special function dedicated for it (and
called display_update_filter_directories)? I haven't seen a reason for
that, but maybe I'm wrong...
diff in the attachment.
thanks guys, rox is great!
Janek Kozicki |