Skip to content

Commit

Permalink
Merge branch 'pere_tutorial'
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Oct 7, 2023
2 parents fa30011 + 465b0c2 commit a8e7879
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/tutorials.rst
Expand Up @@ -24,3 +24,9 @@ Slides

Notebooks & data files
----------------------

Example link:

.. figure:: https://colab.research.google.com/assets/colab-badge.svg
:target: http://colab.research.google.com/github/GrupEstructuraElectronicaSimetria/cosymlib/blob/pere_tutorial/docs/tutorials/test_tutorial.ipynb

30 changes: 30 additions & 0 deletions docs/tutorials/ethane.xyz
@@ -0,0 +1,30 @@
8
0
6 0.000000 0.000000 0.000000
6 0.000000 0.000000 1.549675
1 1.024459 0.000000 -0.409345
1 -0.512224 -0.887210 -0.409345
1 -0.512240 0.887202 -0.409345
1 1.024459 0.000000 1.959020
1 -0.512224 0.887210 1.959020
1 -0.512240 -0.887202 1.959020
8
5
6 0.000000 0.000000 0.000000
6 0.000000 0.000000 1.549675
1 1.024459 0.000000 -0.409345
1 -0.512224 -0.887210 -0.409345
1 -0.512240 0.887202 -0.409345
1 1.020561 0.089287 1.959020
1 -0.587601 0.839191 1.959020
1 -0.432966 -0.928470 1.959020
8
10
6 0.000000 0.000000 0.000000
6 0.000000 0.000000 1.549160
1 1.024509 0.000000 -0.409460
1 -0.515075 -0.885616 -0.409460
1 -0.506597 0.890493 -0.409460
1 1.008944 0.177904 1.958620
1 -0.661036 0.782720 1.958620
1 -0.344269 -0.964934 1.958620
51 changes: 51 additions & 0 deletions docs/tutorials/test_tutorial.ipynb
@@ -0,0 +1,51 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"collapsed": true,
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"This is a test of how to copy files from github to colab. Run the following cell to copy the file\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"! wget https://raw.githubusercontent.com/GrupEstructuraElectronicaSimetria/cosymlib/pere_tutorial/docs/tutorials/ethane.xyz\n"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%%\n"
}
}
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 0
}

0 comments on commit a8e7879

Please sign in to comment.