Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
@@ -170,7 +170,7 @@ atoms = None
|
|
170 |
# File upload option
|
171 |
if input_method == "Upload File":
|
172 |
uploaded_file = st.sidebar.file_uploader("Upload structure file",
|
173 |
-
type=["xyz", "cif", "POSCAR", "mol", "tmol"])
|
174 |
|
175 |
if uploaded_file is not None:
|
176 |
# Create a temporary file to save the uploaded content
|
@@ -211,7 +211,7 @@ elif input_method == "Paste Content":
|
|
211 |
try:
|
212 |
# Create a temporary file with the pasted content
|
213 |
suffix_map = {"XYZ": ".xyz", "CIF": ".cif", "extXYZ": ".extxyz",
|
214 |
-
"POSCAR (VASP)": ".
|
215 |
|
216 |
suffix = suffix_map.get(file_format, ".xyz")
|
217 |
|
|
|
170 |
# File upload option
|
171 |
if input_method == "Upload File":
|
172 |
uploaded_file = st.sidebar.file_uploader("Upload structure file",
|
173 |
+
type=["xyz", "cif", "POSCAR", "mol", "tmol", "vasp", "sdf", "CONTCAR"])
|
174 |
|
175 |
if uploaded_file is not None:
|
176 |
# Create a temporary file to save the uploaded content
|
|
|
211 |
try:
|
212 |
# Create a temporary file with the pasted content
|
213 |
suffix_map = {"XYZ": ".xyz", "CIF": ".cif", "extXYZ": ".extxyz",
|
214 |
+
"POSCAR (VASP)": ".vasp", "Turbomole": ".tmol", "MOL": ".mol"}
|
215 |
|
216 |
suffix = suffix_map.get(file_format, ".xyz")
|
217 |
|