Convert data files into feature files.
The convertion is done on all the files with a specific extension
found in the in source directory. The output fils are putted in a
directory structure which is the same as the source one.
| Method Summary |
| |
__init__(self,
executor)
The Features object constructor. |
| |
compute(self,
overwrite)
Compute the features for all file in the directory tree. |
| |
enable_log(self,
on_screen,
logfile)
Enable/disable the logs on the screen and/or on file. |
| |
log(self,
msg)
Log the given message. |
| |
log_info(self)
Log general informations about the current system. |
| |
log_options(self,
options,
text)
Log the given options. |
| |
set_cmd(self,
cmd,
options)
Set the commands and options to use for convert into features. |
| |
set_dirs(self,
from_dir,
to_dir,
from_ext,
to_ext,
bin_dir)
Set the used directories. |
| |
_convert(self,
(from_dir,
to_dir,
overwrite),
dir,
files)
Internal method called for each file to convert. |