fatmacankara commited on
Commit
887760c
·
1 Parent(s): 6241086

Update code/add_sasa.py

Browse files
Files changed (1) hide show
  1. code/add_sasa.py +5 -1
code/add_sasa.py CHANGED
@@ -44,11 +44,15 @@ def run_freesasa(infile, outfile, include_hetatms=True, outdir=None, force_rerun
44
  stderr=subprocess.PIPE,
45
  shell=True)
46
  out, err = command.communicate()
 
 
47
  api = HfApi()
 
 
48
  api.upload_file(
49
  path_or_fileobj=outfile,
50
  path_in_repo="out_files/pdb/freesasa_files",
51
- repo_id="fatmacankara/ASCARIS",
52
  repo_type="space")
53
  return outfile
54
 
 
44
  stderr=subprocess.PIPE,
45
  shell=True)
46
  out, err = command.communicate()
47
+ st.write('OUT')
48
+ st.write(outfile)
49
  api = HfApi()
50
+ st.wrte('API')
51
+ st.write(api)
52
  api.upload_file(
53
  path_or_fileobj=outfile,
54
  path_in_repo="out_files/pdb/freesasa_files",
55
+ repo_id="HUBioDataLab/ASCARIS",
56
  repo_type="space")
57
  return outfile
58