minor cody tidy up

This commit is contained in:
Tanushree Tunstall 2021-02-12 16:50:34 +00:00
parent 9c221e6786
commit b2397ea99d
2 changed files with 9 additions and 9 deletions

View file

@ -8,16 +8,16 @@ Created on Fri Feb 12 12:15:26 2021
import os import os
homedir = os.path.expanduser('~') homedir = os.path.expanduser('~')
os.chdir (homedir + '/git/LSHTM_analysis/dynamut') os.chdir (homedir + '/git/LSHTM_analysis/dynamut')
from get_results import *
from submit import * from submit import *
from get_results import *
#%%##################################################################### #%%#####################################################################
#EXAMPLE RUN for different stages #EXAMPLE RUN for different stages
#===================== #=====================
# STAGE: submit.py # STAGE: submit.py
#===================== #=====================
my_host = 'http://biosig.unimelb.edu.au' my_host = 'http://biosig.unimelb.edu.au'
my_prediction_url = f"{host}/dynamut/prediction_list" my_prediction_url = f"{my_host}/dynamut/prediction_list"
print(prediction_url) print(my_prediction_url)
my_outdir = homedir + '/git/LSHTM_analysis/dynamut' my_outdir = homedir + '/git/LSHTM_analysis/dynamut'
my_chain = 'A' my_chain = 'A'
@ -40,7 +40,7 @@ submit_dynamut(host_url = my_host
, outfile_suffix = my_suffix) , outfile_suffix = my_suffix)
#%%################################################################### #%%###################################################################
#===================== #=====================
# STAGE:get_results.py # STAGE: get_results.py
#===================== #=====================
my_host = 'http://biosig.unimelb.edu.au' my_host = 'http://biosig.unimelb.edu.au'
my_outdir = homedir + '/git/LSHTM_analysis/dynamut' my_outdir = homedir + '/git/LSHTM_analysis/dynamut'

View file

@ -41,15 +41,15 @@ def submit_dynamut(host_url
@param chain: single-letter(caps) @param chain: single-letter(caps)
@type chr @type chr
@param email_address: email address to inform of results
@type chr
@param prediction_url: dynamut url for prediction @param prediction_url: dynamut url for prediction
@type string @type string
@param output_dir: output dir @param output_dir: output dir
@type string @type string
@param outfile_suffix: outfile_suffix
@type string, default is batch no.
@param outfile_suffix: to append to outfile @param outfile_suffix: to append to outfile
@type string @type string