Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
b2e35ff
1
Parent(s):
3b97677
Update code/manage_files.py
Browse files- code/manage_files.py +6 -1
code/manage_files.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
from pathlib import Path
|
3 |
def manage_files(mode):
|
4 |
if mode== 1:
|
@@ -32,7 +33,11 @@ def manage_files(mode):
|
|
32 |
alphafold_summary = path_to_input_files / 'alphafold_summary.txt'
|
33 |
path_to_interfaces = path_to_input_files / 'H_sapiens_interfacesHQ.txt'
|
34 |
# Unzip before using
|
35 |
-
|
|
|
|
|
|
|
|
|
36 |
|
37 |
os.makedirs('out_files', exist_ok=True)
|
38 |
path_to_output_files = Path('out_files/alphafold')
|
|
|
1 |
import os
|
2 |
+
import streamlit as st
|
3 |
from pathlib import Path
|
4 |
def manage_files(mode):
|
5 |
if mode== 1:
|
|
|
33 |
alphafold_summary = path_to_input_files / 'alphafold_summary.txt'
|
34 |
path_to_interfaces = path_to_input_files / 'H_sapiens_interfacesHQ.txt'
|
35 |
# Unzip before using
|
36 |
+
from datasets import load_dataset
|
37 |
+
alphafold_path = load_dataset("HUBioDataLab/AlphafoldStructures")
|
38 |
+
st.write('path')
|
39 |
+
st.write(alphafold_path)
|
40 |
+
###alphafold_path = Path(path_to_input_files/'alphafold_structures')
|
41 |
|
42 |
os.makedirs('out_files', exist_ok=True)
|
43 |
path_to_output_files = Path('out_files/alphafold')
|