Spaces:
Sleeping
Sleeping
Commit
·
a9db117
1
Parent(s):
6323668
Update ASCARIS.py
Browse files- ASCARIS.py +1 -14
ASCARIS.py
CHANGED
@@ -16,20 +16,7 @@ from huggingface_hub import hf_hub_download
|
|
16 |
import streamlit as st
|
17 |
import gzip
|
18 |
|
19 |
-
|
20 |
-
st.write('')
|
21 |
-
mod = 1
|
22 |
-
st.write('WHY')
|
23 |
-
name = 'P0CB47'
|
24 |
-
pdb_path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename=f"AF-{name}-F{mod}-model_v4.pdb.gz",repo_type = 'dataset')
|
25 |
-
st.write('PATH')
|
26 |
-
st.write('HER')
|
27 |
-
with gzip.open(pdb_path, mode="rt") as f:
|
28 |
-
file_content = f.read()
|
29 |
-
st.write(file_content)
|
30 |
-
st.write('REH')
|
31 |
-
st.write('-----')
|
32 |
-
st.write('')
|
33 |
|
34 |
def convert_df(df):
|
35 |
return df.to_csv(index=False).encode('utf-8')
|
|
|
16 |
import streamlit as st
|
17 |
import gzip
|
18 |
|
19 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
def convert_df(df):
|
22 |
return df.to_csv(index=False).encode('utf-8')
|