Hide slice when using omf ec

Trigger this by add ignore_slice option in config file.

fixes #1505