From da1f2d67a0b55f156717fcb1ebf1b9490aa9b1af Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 13 Mar 2024 14:33:57 +0100
Subject: [PATCH] fixe typo from lables to labels

---
 README.md            | 12 ++++++------
 src/graph.py         |  8 ++++----
 src/nextflow_file.py |  8 ++++----
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/README.md b/README.md
index 422a910..aa840f6 100644
--- a/README.md
+++ b/README.md
@@ -93,15 +93,15 @@ The structure of this folder is organised as such :
 │   ├── dependency_graph.json
 │   ├── dependency_graph.mmd
 │   ├── dependency_graph.png
-│   ├── dependency_graph_wo_lables.dot
-│   ├── dependency_graph_wo_lables.mmd
-│   ├── dependency_graph_wo_lables.png
+│   ├── dependency_graph_wo_labels.dot
+│   ├── dependency_graph_wo_labels.mmd
+│   ├── dependency_graph_wo_labels.png
 │   ├── dependency_graph_wo_orphan_operations.dot
 │   ├── dependency_graph_wo_orphan_operations.mmd
 │   ├── dependency_graph_wo_orphan_operations.png
-│   ├── dependency_graph_wo_orphan_operations_wo_lables.dot
-│   ├── dependency_graph_wo_orphan_operations_wo_lables.mmd
-│   ├── dependency_graph_wo_orphan_operations_wo_lables.png
+│   ├── dependency_graph_wo_orphan_operations_wo_labels.dot
+│   ├── dependency_graph_wo_orphan_operations_wo_labels.mmd
+│   ├── dependency_graph_wo_orphan_operations_wo_labels.png
 │   ├── metadata_dependency_graph.json
 │   ├── metadata_process_dependency_graph.json
 │   ├── metadata_specification_graph.json
diff --git a/src/graph.py b/src/graph.py
index 8001086..ebbabe6 100644
--- a/src/graph.py
+++ b/src/graph.py
@@ -121,13 +121,13 @@ class Graph():
     def get_specification_graph(self, filename = "specification_graph", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, self.full_dico, render_graphs = render_graphs)
 
-    def get_specification_graph_wo_lables(self, filename = "specification_graph_wo_labels", render_graphs = True):
+    def get_specification_graph_wo_labels(self, filename = "specification_graph_wo_labels", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, self.full_dico, label_edge=False, label_node=False, render_graphs = render_graphs)
     
     def get_specification_graph_wo_orphan_operations(self, filename = "specification_wo_orphan_operations", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, graph_dico_wo_orphan_operations(self.full_dico), render_graphs = render_graphs)
     
-    def get_specification_graph_wo_orphan_operations_wo_lables(self, filename = "specification_wo_orphan_operations_wo_labels", render_graphs = True):
+    def get_specification_graph_wo_orphan_operations_wo_labels(self, filename = "specification_wo_orphan_operations_wo_labels", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, graph_dico_wo_orphan_operations(self.full_dico), label_edge=False, label_node=False, render_graphs = render_graphs)
 
     def get_process_dependency_graph(self):
@@ -268,13 +268,13 @@ class Graph():
     def render_dependency_graph(self, filename = "dependency_graph", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, self.dico_wo_branch_operation, render_graphs = render_graphs)
     
-    def get_dependency_graph_wo_lables(self, filename = "dependency_graph_wo_lables", render_graphs = True):
+    def get_dependency_graph_wo_labels(self, filename = "dependency_graph_wo_labels", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, self.dico_wo_branch_operation, label_edge=False, label_node=False, render_graphs = render_graphs)
 
     def get_dependency_graph_wo_orphan_operations(self, filename = "dependency_graph_wo_orphan_operations", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, graph_dico_wo_orphan_operations(self.dico_wo_branch_operation), render_graphs = render_graphs)
     
-    def get_dependency_graph_wo_orphan_operations_wo_lables(self, filename = "dependency_graph_wo_orphan_operations_wo_lables", render_graphs = True):
+    def get_dependency_graph_wo_orphan_operations_wo_labels(self, filename = "dependency_graph_wo_orphan_operations_wo_labels", render_graphs = True):
         generate_graph(self.get_output_dir()/'graphs'/filename, graph_dico_wo_orphan_operations(self.dico_wo_branch_operation), label_edge=False, label_node=False, render_graphs = render_graphs)
 
 
diff --git a/src/nextflow_file.py b/src/nextflow_file.py
index 70684e4..740bd4e 100644
--- a/src/nextflow_file.py
+++ b/src/nextflow_file.py
@@ -649,14 +649,14 @@ class Nextflow_File(Nextflow_Building_Blocks):
 
         #Generate the different graphs
         self.graph.get_specification_graph(render_graphs = render_graphs)
-        self.graph.get_specification_graph_wo_lables(render_graphs = render_graphs)
+        self.graph.get_specification_graph_wo_labels(render_graphs = render_graphs)
         self.graph.render_graph_wo_operations(render_graphs = render_graphs)
         self.graph.get_specification_graph_wo_orphan_operations(render_graphs = render_graphs)
-        self.graph.get_specification_graph_wo_orphan_operations_wo_lables(render_graphs = render_graphs)
+        self.graph.get_specification_graph_wo_orphan_operations_wo_labels(render_graphs = render_graphs)
         self.graph.render_dependency_graph(render_graphs = render_graphs)
-        self.graph.get_dependency_graph_wo_lables(render_graphs = render_graphs)
+        self.graph.get_dependency_graph_wo_labels(render_graphs = render_graphs)
         self.graph.get_dependency_graph_wo_orphan_operations(render_graphs = render_graphs)
-        self.graph.get_dependency_graph_wo_orphan_operations_wo_lables(render_graphs = render_graphs)
+        self.graph.get_dependency_graph_wo_orphan_operations_wo_labels(render_graphs = render_graphs)
 
         
         #Generate the different metadata associated with the graphs
-- 
GitLab