Skip to content

Commit

Permalink
Correct bug in draw lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Bodin committed Oct 31, 2018
1 parent 3287a3b commit c5a8597
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Turbine/draw/draw_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ def write_jpeg(self, name=None):
self._dotGraph.write_jpeg(name + '.jpeg')


file_path_bs = "simpl_BlackScholes.tur"
# file_path_jpeg = "../../experimentations/indus/JPEG2000.tur"
dataflow = read_tur_file(file_path_bs)
# dataflow = get_csdf_into_sdf(dataflow)
d = Dot(dataflow)
d.write_pdf("test")
if __name__ == "__main__":
file_path_bs = "simpl_BlackScholes.tur"
# file_path_jpeg = "../../experimentations/indus/JPEG2000.tur"
dataflow = read_tur_file(file_path_bs)
# dataflow = get_csdf_into_sdf(dataflow)
d = Dot(dataflow)
d.write_pdf("test")

0 comments on commit c5a8597

Please sign in to comment.