Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 8, 2024
1 parent 9b06c90 commit 93551fc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
1 change: 1 addition & 0 deletions aiidalab_sssp/inspect/subwidgets/delta.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Moudle contains widgets for accuracy delat results inspect.
The widget EosComparisonWidget for compare Eos fit line of a given pseudos in the given configuration.
The widget AccuracyMeritWidget showing Nicola's Nu measure of all pseudos in all configurations"""

import ipywidgets as ipw
import matplotlib.pyplot as plt
import numpy as np
Expand Down
1 change: 1 addition & 0 deletions aiidalab_sssp/process.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Widgets related to process management."""

from dataclasses import dataclass
from threading import Event, Lock, Thread

Expand Down
1 change: 1 addition & 0 deletions aiidalab_sssp/steps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""widget for pseudo inmport"""

import io
import os

Expand Down
6 changes: 3 additions & 3 deletions inspect.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fe6d78c0",
"id": "0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -17,7 +17,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fcd02c89",
"id": "1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -27,7 +27,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ba9715ad",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand Down
5 changes: 1 addition & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ url = https://github.com/aiidalab/aiidalab-sssp
author = Jusong Yu
author_email = jusong.yu@psi.ch
license = MIT
license_file = LICENSE
license_files = LICENSE
classifiers =
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
project_urls =
Logo = https://raw.githubusercontent.com/aiidalab/aiidalab-sssp/main/miscellaneous/logo-sssp.png
Bug Tracker = https://github.com/aiidalab/aiidalab-sssp/issues
Expand Down
14 changes: 7 additions & 7 deletions sssp-docs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "dd3be55d",
"id": "0",
"metadata": {},
"source": [
"## $\\Delta$ measures (normol $\\Delta$-factor and $\\nu\\Delta$ the 'length of the vector' measure)\n",
Expand Down Expand Up @@ -43,7 +43,7 @@
},
{
"cell_type": "markdown",
"id": "800d43b8",
"id": "1",
"metadata": {},
"source": [
"## Cohesive energy (eV/atom)\n",
Expand All @@ -66,7 +66,7 @@
},
{
"cell_type": "markdown",
"id": "475abb76",
"id": "2",
"metadata": {},
"source": [
"## Cohesive energy error (eV/atom)\n",
Expand All @@ -83,7 +83,7 @@
},
{
"cell_type": "markdown",
"id": "a81a9a26",
"id": "3",
"metadata": {},
"source": [
"## Phonon frequencies absolute error ($cm^{-1}$)\n",
Expand All @@ -101,7 +101,7 @@
},
{
"cell_type": "markdown",
"id": "44922944",
"id": "4",
"metadata": {},
"source": [
"## Phonon frequencies relative error (%)\n",
Expand All @@ -120,7 +120,7 @@
},
{
"cell_type": "markdown",
"id": "62b8337f",
"id": "5",
"metadata": {},
"source": [
"## Pressure absolute error (GPa)\n",
Expand All @@ -134,7 +134,7 @@
},
{
"cell_type": "markdown",
"id": "1a874e26",
"id": "6",
"metadata": {},
"source": [
"## Pressure relative error (GPa)\n",
Expand Down
2 changes: 1 addition & 1 deletion viewers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def viewer(obj, downloadable=True, **kwargs):
try:
_viewer = AIIDA_VIEWER_MAPPING[obj.node_type]
return _viewer(obj, downloadable=downloadable, **kwargs)
except (KeyError) as exc:
except KeyError as exc:
if obj.node_type in str(exc):
warnings.warn(
"Did not find an appropriate viewer for the {} object. Returning the object "
Expand Down

0 comments on commit 93551fc

Please sign in to comment.