Skip to content

Commit

Permalink
Merge pull request #143 from CasperWA/close_48_periodic-table
Browse files Browse the repository at this point in the history
Use PeriodicTable widget from `widget_periodictable` for elements input.
Remove black from dev requirements.
Remove CIF and PDF conversions through ASE (redundant).
  • Loading branch information
CasperWA committed Sep 26, 2020
2 parents b04f09f + d6e6240 commit c2976ee
Show file tree
Hide file tree
Showing 8 changed files with 194 additions and 132 deletions.
17 changes: 5 additions & 12 deletions OPTIMADE Client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 0,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -16,7 +16,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 0,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -72,7 +72,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 0,
"metadata": {},
"outputs": [
{
Expand All @@ -96,7 +96,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 0,
"metadata": {},
"outputs": [
{
Expand All @@ -120,7 +120,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 0,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -177,13 +177,6 @@
"\n",
"display(filters_summary)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
3 changes: 3 additions & 0 deletions binder/postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ jupyter nbextension enable --py --sys-prefix nglview
# Voilà
jupyter nbextension enable --py --sys-prefix voila

# Period Table
jupyter nbextension enable --py --sys-prefix widget_periodictable

2 changes: 2 additions & 0 deletions optimade_client/subwidgets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from .filter_inputs import *
from .multi_checkbox import *
from .output_summary import *
from .periodic_table import *
from .provider_database import *
from .results import *

Expand All @@ -10,6 +11,7 @@
filter_inputs.__all__ # noqa
+ multi_checkbox.__all__ # noqa
+ output_summary.__all__ # noqa
+ periodic_table.__all__ # noqa
+ provider_database.__all__ # noqa
+ results.__all__ # noqa
)
Loading

0 comments on commit c2976ee

Please sign in to comment.