kolibril13 commited on
Commit
fc17971
1 Parent(s): c39c430

small tweaks

Browse files
Files changed (1) hide show
  1. pages/01_widget.ipynb +2 -2
pages/01_widget.ipynb CHANGED
@@ -24,7 +24,7 @@
24
  " bpy.ops.object.select_by_type(type=\"MESH\")\n",
25
  " bpy.ops.object.delete()\n",
26
  "\n",
27
- " obj = mn.load.molecule_rcsb(\"106M\", starting_style=\"cartoon\", center_molecule=True)\n",
28
  " obj.scale = [10, 10, 10]\n",
29
  "\n",
30
  " bpy.context.view_layer.objects.active = obj\n",
@@ -87,7 +87,7 @@
87
  " solara.Success(\"Rendering complete. \")\n",
88
  " if result.value:\n",
89
  " viewer = Viewer(gltf_data=result.value)\n",
90
- " solara.FileDownload(data, filename=\"model_cube.gltf\", label=\"Download model_cube.gltf\")\n",
91
  "\n",
92
  " display(viewer)\n",
93
  "Page()"
 
24
  " bpy.ops.object.select_by_type(type=\"MESH\")\n",
25
  " bpy.ops.object.delete()\n",
26
  "\n",
27
+ " obj = mn.load.molecule_rcsb(\"1YAR\", starting_style=\"cartoon\", center_molecule=True)\n",
28
  " obj.scale = [10, 10, 10]\n",
29
  "\n",
30
  " bpy.context.view_layer.objects.active = obj\n",
 
87
  " solara.Success(\"Rendering complete. \")\n",
88
  " if result.value:\n",
89
  " viewer = Viewer(gltf_data=result.value)\n",
90
+ " solara.FileDownload(data, filename=\"model_cube.gltf\", label=\"Download model.gltf file\")\n",
91
  "\n",
92
  " display(viewer)\n",
93
  "Page()"