Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hng/BiomolecularStructures
Browse files Browse the repository at this point in the history
  • Loading branch information
gp0 committed Mar 26, 2015
2 parents 62766bd + b886079 commit 80ec377
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/BiomolecularStructures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ module BiomolecularStructures
include(Pkg.dir("BiomolecularStructures", "src/PLOT/", "plot.jl"))
include(Pkg.dir("BiomolecularStructures", "src/WebBLAST/", "hit.jl"))
include(Pkg.dir("BiomolecularStructures", "src/WebBLAST/", "WebBLAST.jl"))
include(Pkg.dir("BiomolecularStructures", "src/MODELLER/", "modeller.jl"))
include(Pkg.dir("BiomolecularStructures", "src/MAFFT/", "mafft.jl"))
end
6 changes: 3 additions & 3 deletions src/MODELLER/modeller.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export model_single, gen_script, evaluate_model
a[:make]()
end

function evaluate_model(pdbfile::String; outputfile::String)
function evaluate_model(pdbfile::String, outputfile::String = "")

# check for optional argument output and set it to the first part of the name of the PDB file
if !isdefined(:outputfile)
outputfile = string(split(a,".")[1], ".profile")
if outputfile == ""
outputfile = string(split(pdbfile,".")[1], ".profile")
end

@pyimport modeller
Expand Down

0 comments on commit 80ec377

Please sign in to comment.