mirror of
https://github.com/MillironX/beefblup.git
synced 2024-12-22 17:08:16 +00:00
Split into input and worker functions
This commit is contained in:
parent
2dd48631ea
commit
5048d3a1b8
1 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,13 @@ savepath = save_dialog_native(
|
||||||
print("What is the heritability for this trait?> ")
|
print("What is the heritability for this trait?> ")
|
||||||
h2 = parse(Float64, readline(stdin))
|
h2 = parse(Float64, readline(stdin))
|
||||||
|
|
||||||
|
beefblup(path, savepath, h2)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
# Main worker function, can perform all the work if given all the user input
|
||||||
|
function beefblup(path::String, savepath::String, h2::Float64)
|
||||||
|
|
||||||
### Import input filename
|
### Import input filename
|
||||||
print("[🐮]: Importing data file...")
|
print("[🐮]: Importing data file...")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue