fatmacankara commited on
Commit
29882ad
·
1 Parent(s): 9e6da06

Update code/alphafold_featureVector.py

Browse files
Files changed (1) hide show
  1. code/alphafold_featureVector.py +4 -1
code/alphafold_featureVector.py CHANGED
@@ -717,7 +717,7 @@ def alphafold(input_set, mode, impute):
717
 
718
  if sasa_pos != np.NaN:
719
  sasa = 'nan'
720
- for filename in list(Path(path_to_output_files / 'freesasa_files').glob("*")):
721
  st.write('xdfkjlxdjf', filename)
722
  st.write('string filename')
723
  st.write(str(filename))
@@ -731,9 +731,12 @@ def alphafold(input_set, mode, impute):
731
 
732
  st.write('IndexError')
733
  fname = ''
 
734
  if uniprotID == fname:
735
  files = open(filename, 'r')
 
736
  file = files.readlines()
 
737
  for k in file:
738
  if str(k.strip()[10:13]) == str(sasa_pos):
739
  residue = str(k[4:7].strip())
 
717
 
718
  if sasa_pos != np.NaN:
719
  sasa = 'nan'
720
+ for filename in list(Path(path_to_output_files / 'freesasa_files').glob("*"))[1:]:
721
  st.write('xdfkjlxdjf', filename)
722
  st.write('string filename')
723
  st.write(str(filename))
 
731
 
732
  st.write('IndexError')
733
  fname = ''
734
+ st.write(uniprotID , fname, uniprotID == fname)
735
  if uniprotID == fname:
736
  files = open(filename, 'r')
737
+ st.write('files', files)
738
  file = files.readlines()
739
+ st.write('readlines', file)
740
  for k in file:
741
  if str(k.strip()[10:13]) == str(sasa_pos):
742
  residue = str(k[4:7].strip())