|
17 | 17 | { |
18 | 18 | "data": { |
19 | 19 | "text/plain": [ |
20 | | - "'0.3.9'" |
| 20 | + "'0.3.11'" |
21 | 21 | ] |
22 | 22 | }, |
23 | 23 | "execution_count": 1, |
|
41 | 41 | { |
42 | 42 | "cell_type": "code", |
43 | 43 | "execution_count": 2, |
44 | | - "metadata": { |
45 | | - "collapsed": true |
46 | | - }, |
| 44 | + "metadata": {}, |
47 | 45 | "outputs": [], |
48 | 46 | "source": [ |
49 | 47 | "exatomic.Universe?" |
|
65 | 63 | { |
66 | 64 | "data": { |
67 | 65 | "text/plain": [ |
68 | | - "<exatomic.core.universe.Universe at 0x7f27280baeb8>" |
| 66 | + "<exatomic.core.universe.Universe at 0x7f77da0bd630>" |
69 | 67 | ] |
70 | 68 | }, |
71 | 69 | "execution_count": 3, |
|
95 | 93 | "data": { |
96 | 94 | "text/html": [ |
97 | 95 | "<div>\n", |
98 | | - "<style>\n", |
99 | | - " .dataframe thead tr:only-child th {\n", |
100 | | - " text-align: right;\n", |
101 | | - " }\n", |
102 | | - "\n", |
103 | | - " .dataframe thead th {\n", |
104 | | - " text-align: left;\n", |
| 96 | + "<style scoped>\n", |
| 97 | + " .dataframe tbody tr th:only-of-type {\n", |
| 98 | + " vertical-align: middle;\n", |
105 | 99 | " }\n", |
106 | 100 | "\n", |
107 | 101 | " .dataframe tbody tr th {\n", |
108 | 102 | " vertical-align: top;\n", |
109 | 103 | " }\n", |
| 104 | + "\n", |
| 105 | + " .dataframe thead th {\n", |
| 106 | + " text-align: right;\n", |
| 107 | + " }\n", |
110 | 108 | "</style>\n", |
111 | 109 | "<table border=\"1\" class=\"dataframe\">\n", |
112 | 110 | " <thead>\n", |
|
181 | 179 | "data": { |
182 | 180 | "text/html": [ |
183 | 181 | "<div>\n", |
184 | | - "<style>\n", |
185 | | - " .dataframe thead tr:only-child th {\n", |
186 | | - " text-align: right;\n", |
187 | | - " }\n", |
188 | | - "\n", |
189 | | - " .dataframe thead th {\n", |
190 | | - " text-align: left;\n", |
| 182 | + "<style scoped>\n", |
| 183 | + " .dataframe tbody tr th:only-of-type {\n", |
| 184 | + " vertical-align: middle;\n", |
191 | 185 | " }\n", |
192 | 186 | "\n", |
193 | 187 | " .dataframe tbody tr th {\n", |
194 | 188 | " vertical-align: top;\n", |
195 | 189 | " }\n", |
| 190 | + "\n", |
| 191 | + " .dataframe thead th {\n", |
| 192 | + " text-align: right;\n", |
| 193 | + " }\n", |
196 | 194 | "</style>\n", |
197 | 195 | "<table border=\"1\" class=\"dataframe\">\n", |
198 | 196 | " <thead>\n", |
|
242 | 240 | { |
243 | 241 | "data": { |
244 | 242 | "application/vnd.jupyter.widget-view+json": { |
245 | | - "model_id": "f7c70903935c487a9524f863691d70ea", |
| 243 | + "model_id": "899aa74a418341cf90c6cc921b3c39b3", |
246 | 244 | "version_major": 2, |
247 | 245 | "version_minor": 0 |
248 | 246 | }, |
| 247 | + "text/html": [ |
| 248 | + "<p>Failed to display Jupyter Widget of type <code>UniverseWidget</code>.</p>\n", |
| 249 | + "<p>\n", |
| 250 | + " If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean\n", |
| 251 | + " that the widgets JavaScript is still loading. If this message persists, it\n", |
| 252 | + " likely means that the widgets JavaScript library is either not installed or\n", |
| 253 | + " not enabled. See the <a href=\"https://ipywidgets.readthedocs.io/en/stable/user_install.html\">Jupyter\n", |
| 254 | + " Widgets Documentation</a> for setup instructions.\n", |
| 255 | + "</p>\n", |
| 256 | + "<p>\n", |
| 257 | + " If you're reading this message in another frontend (for example, a static\n", |
| 258 | + " rendering on GitHub or <a href=\"https://nbviewer.jupyter.org/\">NBViewer</a>),\n", |
| 259 | + " it may mean that your frontend doesn't currently support widgets.\n", |
| 260 | + "</p>\n" |
| 261 | + ], |
249 | 262 | "text/plain": [ |
250 | | - "A Jupyter Widget" |
| 263 | + "UniverseWidget(active_scene_indices=[0], children=(GUIBox(children=(Button(description=' Close', icon='trash', layout=Layout(width='98%'), style=ButtonStyle()), Button(description=' Clear', icon='bomb', layout=Layout(width='98%'), style=ButtonStyle()), Folder(children=(Button(description=' Active Scenes', icon='bars', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Folder(children=(Button(description=' Image', icon='save', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Folder(children=(Button(description=' Camera', icon='camera', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Button(description=' Fill', icon='adjust', layout=Layout(width='98%'), style=ButtonStyle()), Button(description=' Axis', icon='arrows-alt', layout=Layout(width='98%'), style=ButtonStyle()), Folder(children=(Button(description=' Animate', icon='play', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%')), Folder(children=(Button(description=' Fields', icon='cube', layout=Layout(width='98%'), style=ButtonStyle()),), layout=Layout(align_items='flex-end', width='100%'))), layout=Layout(flex='0 0 240px')), VBox(children=(HBox(children=(UniverseScene(atom_c={0: '#9b9b9b'}, atom_l='[[\"H0\",\"H1\"]]', atom_r={0: 0.30235616}, atom_s='[[0,0]]', atom_x='[[0.0,0.0]]', atom_y='[[0.0,0.0]]', atom_z='[[-0.34,0.34]]', cont_lim=[-8, -1], imgname='name', layout=Layout(flex='1 1 auto', height='auto', min_height='500px'), two_b0='[[0]]', two_b1='[[1]]', uni=True),), layout=Layout(flex='1 1 auto', height='auto', width='auto')),), layout=Layout(flex='1 1 auto', height='auto', width='auto'))), layout=Layout(flex='1 1 auto', height='auto', width='auto'))" |
251 | 264 | ] |
252 | 265 | }, |
253 | 266 | "metadata": {}, |
|
275 | 288 | "data": { |
276 | 289 | "text/html": [ |
277 | 290 | "<div>\n", |
278 | | - "<style>\n", |
279 | | - " .dataframe thead tr:only-child th {\n", |
280 | | - " text-align: right;\n", |
281 | | - " }\n", |
282 | | - "\n", |
283 | | - " .dataframe thead th {\n", |
284 | | - " text-align: left;\n", |
| 291 | + "<style scoped>\n", |
| 292 | + " .dataframe tbody tr th:only-of-type {\n", |
| 293 | + " vertical-align: middle;\n", |
285 | 294 | " }\n", |
286 | 295 | "\n", |
287 | 296 | " .dataframe tbody tr th {\n", |
288 | 297 | " vertical-align: top;\n", |
289 | 298 | " }\n", |
| 299 | + "\n", |
| 300 | + " .dataframe thead th {\n", |
| 301 | + " text-align: right;\n", |
| 302 | + " }\n", |
290 | 303 | "</style>\n", |
291 | 304 | "<table border=\"1\" class=\"dataframe\">\n", |
292 | 305 | " <thead>\n", |
|
346 | 359 | "data": { |
347 | 360 | "text/html": [ |
348 | 361 | "<div>\n", |
349 | | - "<style>\n", |
350 | | - " .dataframe thead tr:only-child th {\n", |
351 | | - " text-align: right;\n", |
352 | | - " }\n", |
353 | | - "\n", |
354 | | - " .dataframe thead th {\n", |
355 | | - " text-align: left;\n", |
| 362 | + "<style scoped>\n", |
| 363 | + " .dataframe tbody tr th:only-of-type {\n", |
| 364 | + " vertical-align: middle;\n", |
356 | 365 | " }\n", |
357 | 366 | "\n", |
358 | 367 | " .dataframe tbody tr th {\n", |
359 | 368 | " vertical-align: top;\n", |
360 | 369 | " }\n", |
| 370 | + "\n", |
| 371 | + " .dataframe thead th {\n", |
| 372 | + " text-align: right;\n", |
| 373 | + " }\n", |
361 | 374 | "</style>\n", |
362 | 375 | "<table border=\"1\" class=\"dataframe\">\n", |
363 | 376 | " <thead>\n", |
|
404 | 417 | }, |
405 | 418 | { |
406 | 419 | "cell_type": "code", |
407 | | - "execution_count": 10, |
408 | | - "metadata": { |
409 | | - "collapsed": true |
410 | | - }, |
| 420 | + "execution_count": 9, |
| 421 | + "metadata": {}, |
411 | 422 | "outputs": [], |
412 | 423 | "source": [ |
413 | 424 | "uni.compute_molecule_com()" |
414 | 425 | ] |
415 | 426 | }, |
416 | 427 | { |
417 | 428 | "cell_type": "code", |
418 | | - "execution_count": 11, |
| 429 | + "execution_count": 10, |
419 | 430 | "metadata": {}, |
420 | 431 | "outputs": [ |
421 | 432 | { |
422 | 433 | "data": { |
423 | 434 | "text/html": [ |
424 | 435 | "<div>\n", |
425 | | - "<style>\n", |
426 | | - " .dataframe thead tr:only-child th {\n", |
427 | | - " text-align: right;\n", |
428 | | - " }\n", |
429 | | - "\n", |
430 | | - " .dataframe thead th {\n", |
431 | | - " text-align: left;\n", |
| 436 | + "<style scoped>\n", |
| 437 | + " .dataframe tbody tr th:only-of-type {\n", |
| 438 | + " vertical-align: middle;\n", |
432 | 439 | " }\n", |
433 | 440 | "\n", |
434 | 441 | " .dataframe tbody tr th {\n", |
435 | 442 | " vertical-align: top;\n", |
436 | 443 | " }\n", |
| 444 | + "\n", |
| 445 | + " .dataframe thead th {\n", |
| 446 | + " text-align: right;\n", |
| 447 | + " }\n", |
437 | 448 | "</style>\n", |
438 | 449 | "<table border=\"1\" class=\"dataframe\">\n", |
439 | 450 | " <thead>\n", |
|
471 | 482 | "Molecule(1, 5)" |
472 | 483 | ] |
473 | 484 | }, |
474 | | - "execution_count": 11, |
| 485 | + "execution_count": 10, |
475 | 486 | "metadata": {}, |
476 | 487 | "output_type": "execute_result" |
477 | 488 | } |
|
483 | 494 | { |
484 | 495 | "cell_type": "code", |
485 | 496 | "execution_count": null, |
486 | | - "metadata": { |
487 | | - "collapsed": true |
488 | | - }, |
| 497 | + "metadata": {}, |
| 498 | + "outputs": [], |
| 499 | + "source": [] |
| 500 | + }, |
| 501 | + { |
| 502 | + "cell_type": "code", |
| 503 | + "execution_count": null, |
| 504 | + "metadata": {}, |
489 | 505 | "outputs": [], |
490 | 506 | "source": [] |
491 | 507 | } |
|
507 | 523 | "name": "python", |
508 | 524 | "nbconvert_exporter": "python", |
509 | 525 | "pygments_lexer": "ipython3", |
510 | | - "version": "3.6.2" |
| 526 | + "version": "3.6.4" |
511 | 527 | } |
512 | 528 | }, |
513 | 529 | "nbformat": 4, |
|
0 commit comments