Skip to content

Commit

Permalink
Consistent spec file parameter names with AlphaImpute. Old names will…
Browse files Browse the repository at this point in the history
… still work.
  • Loading branch information
MONEY Daniel authored and MONEY Daniel committed Mar 22, 2018
1 parent 7c6dfbe commit cb22c2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/InputOutput.f90
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ function ReadInParameterFile(filename) result (params)

endif

case("numberofsnp")
case("numberofsnp", "numbersnp", "nsnp")
read(second(1), *) params%nSnp

!runs full chromosome
Expand Down Expand Up @@ -540,7 +540,7 @@ function ReadInParameterFile(filename) result (params)
params%params%PercMinToKeep = params%params%PercMinToKeep / 100
end if

case("outputdirectory")
case("outputdirectory","resultfolderpath")
if (allocated(second)) then
read(second(1), *) params%outputParams%outputDirectory
end if
Expand All @@ -555,7 +555,7 @@ function ReadInParameterFile(filename) result (params)
read(second(1), *) params%CoreFile
end if

case("presphasefile")
case("presphasefile","prephasedfile")
if (allocated(second)) then
read(second(1), *) params%PrePhaseFile
end if
Expand Down

0 comments on commit cb22c2e

Please sign in to comment.