Skip to content

Commit

Permalink
hopefully fixed outptu
Browse files Browse the repository at this point in the history
  • Loading branch information
David Wilson committed Aug 23, 2018
1 parent eeef931 commit d26c31d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/InputOutput.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1081,18 +1081,11 @@ subroutine WriteHapLib(library, currentcore, params)

if (params%outputHaplotypeLibraryText) then
write (filout, '(a1,"PhasingResults",a1,"HaplotypeLibrary",a1,"HapLib",i0,".txt")') DASH, DASH, DASH, currentcore
print *,"pre haplibtext"
print *,filout
filout2 = trim(params%outputDirectory)//DASH//trim(params%resultFolderPath)//trim(filout)
print *,trim(params%resultFolderPath)
print *,trim(params%outputDirectory)//DASH//trim(filout)
open (newunit = haplibunit, FILE = filout, status = 'unknown')
print *,"after"
open (newunit = haplibunit, FILE = trim(params%outputDirectory)//DASH//trim(params%resultFolderPath)//trim(filout), status = 'unknown')
write (haplibunit,*) nHaps, SizeCore
endif
if (params%outputHaplotypeLibraryBinary) then
write (filout, '(a1,"PhasingResults",a1,"HaplotypeLibrary",a1,"HapLib",i0,".bin")') DASH, DASH, DASH, currentcore
print *,"pre haplibin"
open (newunit = haplibunitbin, FILE = trim(params%outputDirectory)//DASH//trim(params%resultFolderPath)//filout, form = "unformatted", status = 'unknown')

write (haplibunitbin) nHaps, SizeCore
Expand Down

0 comments on commit d26c31d

Please sign in to comment.