Skip to content

Commit

Permalink
Adds external SEDA options
Browse files Browse the repository at this point in the history
  • Loading branch information
hlfernandez committed Jun 21, 2023
1 parent 1a38438 commit b81a942
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@

import static java.util.Arrays.asList;
import static java.util.Collections.emptyList;
import static java.util.Collections.emptyMap;
import static org.sing_group.seda.cga.plugin.core.CgaPipelineSedaPluginInfo.DESCRIPTION;
import static org.sing_group.seda.cga.plugin.core.CgaPipelineSedaPluginInfo.GROUP;
import static org.sing_group.seda.cga.plugin.core.CgaPipelineSedaPluginInfo.NAME;
import static org.sing_group.seda.cga.plugin.core.CgaPipelineSedaPluginInfo.PARAM_CGA_RESULTS_HELP;
import static org.sing_group.seda.cga.plugin.core.CgaPipelineSedaPluginInfo.PARAM_CGA_RESULTS_NAME;
Expand Down Expand Up @@ -59,15 +61,13 @@

import java.io.File;
import java.io.IOException;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.sing_group.seda.cga.execution.CgaBinariesExecutor;
import org.sing_group.seda.cga.execution.CgaCompiPipelineConfiguration;
import org.sing_group.seda.cga.execution.DefaultDockerCgaBinariesExecutor;
import org.sing_group.seda.cga.plugin.core.CgaPipelineSedaPluginInfo;
import org.sing_group.seda.cga.transformation.dataset.CgaResults;
import org.sing_group.seda.cga.transformation.provider.CgaPipelineTransformationProvider;
import org.sing_group.seda.cli.ExternalSoftwareExecutionCommand;
Expand Down Expand Up @@ -144,7 +144,9 @@ public class CgaPipelineCommand extends ExternalSoftwareExecutionCommand {

public static final StringOption OPTION_DOCKER_MODE =
new StringOption(
PARAM_DOCKER_MODE_NAME, PARAM_DOCKER_MODE_SHORT_NAME, PARAM_DOCKER_MODE_HELP, true, true
SOFTWARE_EXECUTION_CATEGORY,
PARAM_DOCKER_MODE_NAME, PARAM_DOCKER_MODE_SHORT_NAME, PARAM_DOCKER_MODE_HELP,
true, true
);

@Override
Expand All @@ -164,12 +166,12 @@ public String getDescription() {

@Override
protected String getSedaGroup() {
return CgaPipelineSedaPluginInfo.GROUP;
return GROUP;
}

@Override
protected Map<Option<?>, String> getLocalOptionsToEnablePropertyMap() {
return Collections.emptyMap();
return emptyMap();
}

@Override
Expand Down

0 comments on commit b81a942

Please sign in to comment.