1
0
Fork 0
mirror of https://github.com/MillironX/beefblup.git synced 2024-12-22 09:08:16 +00:00

Split into input and worker functions

This commit is contained in:
Thomas A. Christensen II 2021-06-18 14:13:28 -05:00
parent 2dd48631ea
commit 5048d3a1b8
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -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...")