Skip to content

Commit

Permalink
fixes exporter format id
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Biasuzzi committed Aug 1, 2017
1 parent 33ffea6 commit 86a7980
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
import com.google.common.io.ByteStreams;
import eu.itesla_project.commons.Version;
import eu.itesla_project.commons.config.ComponentDefaultConfig;
import eu.itesla_project.commons.datasource.FileDataSource;
import eu.itesla_project.computation.*;
import eu.itesla_project.eurostag.network.EsgGeneralParameters;
import eu.itesla_project.eurostag.network.EsgNetwork;
import eu.itesla_project.eurostag.network.EsgSpecialParameters;
import eu.itesla_project.eurostag.network.io.EsgWriter;
import eu.itesla_project.eurostag.tools.EurostagNetworkModifier;
import eu.itesla_project.commons.datasource.FileDataSource;
import eu.itesla_project.iidm.ddb.eurostag_imp_exp.DynamicDatabaseClient;
import eu.itesla_project.iidm.ddb.eurostag_imp_exp.DynamicDatabaseClientFactory;
import eu.itesla_project.iidm.eurostag.export.*;
Expand Down Expand Up @@ -246,7 +246,7 @@ private EurostagContext before(Path workingDir) throws IOException {
// dump state info for debugging
Networks.dumpStateId(workingDir, network);

Exporter exporter = Exporters.getExporter("XML");
Exporter exporter = Exporters.getExporter("XIIDM");
if (exporter != null) {
Properties parameters = new Properties();
parameters.setProperty("iidm.export.xml.indent", "true");
Expand Down

0 comments on commit 86a7980

Please sign in to comment.