Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -122,7 +122,7 @@ def get_structure_viz2(atoms_obj, style='stick', show_unit_cell=True, width=400,
|
|
122 |
if style.lower() == 'ball_stick':
|
123 |
view.setStyle({'stick': {'radius': 0.1}, 'sphere': {'scale': 0.3}})
|
124 |
elif style.lower() == 'stick':
|
125 |
-
view.setStyle({'stick': {
|
126 |
elif style.lower() == 'ball':
|
127 |
view.setStyle({'sphere': {'scale': 0.4}})
|
128 |
else:
|
|
|
122 |
if style.lower() == 'ball_stick':
|
123 |
view.setStyle({'stick': {'radius': 0.1}, 'sphere': {'scale': 0.3}})
|
124 |
elif style.lower() == 'stick':
|
125 |
+
view.setStyle({'stick': {}})
|
126 |
elif style.lower() == 'ball':
|
127 |
view.setStyle({'sphere': {'scale': 0.4}})
|
128 |
else:
|