Skip to content

Commit 76fc390

Browse files
committed
Display workflow outputs label at the bottom of the cluster
1 parent acdc47c commit 76fc390

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/org/commonwl/view/git/GitService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public Git getRepository(GitDetails gitDetails, boolean reuseDir)
7777
if (reuseDir) {
7878
// Base dir from configuration, name from hash of repository URL
7979
File baseDir = new File(gitStorage.toString());
80-
String baseName = DigestUtils.shaHex(GitDetails.normaliseUrl(gitDetails.getRepoUrl()));
80+
String baseName = DigestUtils.sha1Hex(GitDetails.normaliseUrl(gitDetails.getRepoUrl()));
8181

8282
// Check if folder already exists
8383
File repoDir = new File(baseDir, baseName);

src/main/java/org/commonwl/view/graphviz/RDFDotWriter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ private void writeOutputs(String workflowUri) throws IOException {
9393
writeLine(" subgraph cluster_outputs {");
9494
writeLine(" rank = \"same\";");
9595
writeLine(" style = \"dashed\";");
96+
writeLine(" labelloc = \"b\";");
9697
writeLine(" label = \"Workflow Outputs\";");
9798

9899
// Write each of the outputs as a node

0 commit comments

Comments
 (0)