Skip to content

Commit

Permalink
Fixing indentation of network stdout output in DNA further
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Leifeld committed Feb 4, 2019
1 parent e34792c commit 07089c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DNA/src/dna/export/ExportHelper.java
Expand Up @@ -733,15 +733,15 @@ Matrix computeTwoModeMatrix(ArrayList<Statement> statements, ArrayList<Document>
Integer key = (Integer) keyIterator.next();
ArrayList<Integer> values = combinations.get(key);
if (verbose == true) {
System.out.print("An edge weight of " + key + " corresponds to the following combination of integers in the DNA coding: ");
System.out.print("\n An edge weight of " + key + " maps onto integer combination: ");
for (int i = 0; i < values.size(); i++) {
if (verbose == true) {
System.out.print(values.get(i) + " ");
}
}
System.out.print("\n");
}
}
System.out.print("\n");
}

// normalization
Expand Down
6 changes: 5 additions & 1 deletion DNA/src/dna/export/ExporterR.java
Expand Up @@ -616,7 +616,11 @@ public void rNetwork(String networkType, String statementType, String variable1,
}
}
if (verbose == true) {
System.out.print("Done.\n");
if (qualifierAggregation.equals("combine")) {
System.out.print(" Done.\n");
} else {
System.out.print("Done.\n");
}
int step = 5;
if (networkType.equals("Event list")) {
step = 4;
Expand Down

0 comments on commit 07089c4

Please sign in to comment.