Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,7 @@ def render_3d(smi):
|
|
176 |
xyzview.spin(True)
|
177 |
else:
|
178 |
xyzview.spin(False)
|
179 |
-
xyzview.setViewStyle({"style": "outline", "color": "#323232", "width": 0.
|
180 |
#xyzview.addLabel(stan_smiles, {'position': {'x': -6.89, 'y': 0.75, 'z': 0.35},
|
181 |
# 'backgroundColor': '#515151', 'backgroundOpacity': 0.5,'fontSize':18,'fontColor':'#F9F7F7 ',
|
182 |
# 'fontOpacity':1,'borderThickness':0.0,'inFront':'true','showBackground':'true'})
|
@@ -249,7 +249,7 @@ with tab3:
|
|
249 |
"CPK Model": {"sphere": {}}
|
250 |
}
|
251 |
list_style = ['Line', 'Cross', 'Stick', 'Ball and Stick', 'CPK']
|
252 |
-
value = ui.tabs(options=list_style, default_value='
|
253 |
|
254 |
|
255 |
def stylem(value):
|
|
|
176 |
xyzview.spin(True)
|
177 |
else:
|
178 |
xyzview.spin(False)
|
179 |
+
xyzview.setViewStyle({"style": "outline", "color": "#323232", "width": 0.03}) #CA86FF
|
180 |
#xyzview.addLabel(stan_smiles, {'position': {'x': -6.89, 'y': 0.75, 'z': 0.35},
|
181 |
# 'backgroundColor': '#515151', 'backgroundOpacity': 0.5,'fontSize':18,'fontColor':'#F9F7F7 ',
|
182 |
# 'fontOpacity':1,'borderThickness':0.0,'inFront':'true','showBackground':'true'})
|
|
|
249 |
"CPK Model": {"sphere": {}}
|
250 |
}
|
251 |
list_style = ['Line', 'Cross', 'Stick', 'Ball and Stick', 'CPK']
|
252 |
+
value = ui.tabs(options=list_style, default_value='Ball and Stick', key="kanaries")
|
253 |
|
254 |
|
255 |
def stylem(value):
|