Skip to content

Commit

Permalink
Merge pull request #42 from sourceryinstitute/delete-temp-test-code
Browse files Browse the repository at this point in the history
fix: remove temporary debugging output
  • Loading branch information
rouson authored Aug 31, 2021
2 parents 380cbb6 + cbd95d2 commit 90a5bc9
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/dag_implementation.f90
Original file line number Diff line number Diff line change
Expand Up @@ -194,32 +194,6 @@ end subroutine dfs

character(len=*),parameter :: tab = ' '
character(len=*),parameter :: newline = new_line(' ')
logical, parameter :: capture_test_data = .true.

if (capture_test_data) then
block
integer unit, io_status
integer, parameter :: success=0, max_iomsg_len=128
character(len=max_iomsg_len) io_message

open( &
newunit = unit, &
file = 'output/dag_generate_diagraph-test-data.json', &
status = 'REPLACE', &
iostat = io_status, &
iomsg = io_message)
call assert(io_status==success, "dag%dag_generate_digraph: io_status==success", io_message)

write(unit, *) me

!write(unit,*) '{ "dag_generate_digraph" : "str" : "' , trim(adjustl(str)), '"'
!if (present(rankdir)) write(unit,*) ', "rankdir" : "', trim(adjustl(rankdir)), '"'
!if (present(dpi)) write(unit,*) ', "dpi" : ' , dpi
!write(unit,*) '}'

close(unit)
end block
end if

str = 'digraph G {'//newline//newline
if (present(rankdir)) &
Expand Down

0 comments on commit 90a5bc9

Please sign in to comment.