Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
•
71144f6
1
Parent(s):
c73393b
Update code/main.py
Browse files- code/main.py +0 -16
code/main.py
CHANGED
@@ -1,23 +1,7 @@
|
|
1 |
import pdb_featureVector
|
2 |
import alphafold_featureVector
|
3 |
import argparse
|
4 |
-
from huggingface_hub import hf_hub_download
|
5 |
-
import streamlit as st
|
6 |
-
print('I AM HERE GOD DAMN IT')
|
7 |
-
st.write('I AM HERE GOD DAMN IT')
|
8 |
|
9 |
-
path = hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures", filename="AF-A0A075B6Y9-F1-model_v4.pdb.gz",repo_type = 'dataset')
|
10 |
-
|
11 |
-
st.write(path)
|
12 |
-
|
13 |
-
|
14 |
-
pdb_path= hf_hub_download(repo_id="HuBioDataLab/AlphafoldStructures",repo_type = 'dataset', filename="AF-A0A075B6Y9-F1-model_v4.pdb.gz")
|
15 |
-
import gzip
|
16 |
-
st.write('HER')
|
17 |
-
with gzip.open(pdb_path, mode="rt") as f:
|
18 |
-
file_content = f.read()
|
19 |
-
st.write(file_content)
|
20 |
-
st.write('REH')
|
21 |
|
22 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
23 |
|
|
|
1 |
import pdb_featureVector
|
2 |
import alphafold_featureVector
|
3 |
import argparse
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
parser = argparse.ArgumentParser(description='ASCARIS')
|
7 |
|