Disable automatic execution of Python Data Processors

They are only partially supported currently and this
confuses users. See #4095 for details.
This commit is contained in:
Alejandro Martinez
2022-07-13 16:45:59 -03:00
parent 3b073b9168
commit 0d979f9fb9
2 changed files with 4 additions and 1 deletions

View File

@@ -99,6 +99,9 @@ DataProcessorFactory::autoProcess(RideFile *ride, QString mode, QString op)
i.toFront();
while (i.hasNext()) {
i.next();
if (!i.value()->isCoreProcessor()) continue; // Python DP are not supported in automatic mode
QString configsetting = QString("dp/%1/apply").arg(i.key());
// if we're being run manually, run all that are defined

View File

@@ -2716,7 +2716,7 @@ ProcessorPage::ProcessorPage(Context *context) : context(context)
{
// get the available processors
const DataProcessorFactory &factory = DataProcessorFactory::instance();
processors = factory.getProcessors();
processors = factory.getProcessors(true);
QGridLayout *mainLayout = new QGridLayout(this);