Skip to content

Commit

Permalink
Fixing typing
Browse files Browse the repository at this point in the history
  • Loading branch information
bjmorgan committed Oct 6, 2023
1 parent 90224eb commit 1585d7a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vasppy/calculation.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import yaml
import yaml # type: ignore
import re
from collections import Counter


class Calculation:
"""
class describing a single VASP calculation
Class describing a single VASP calculation
"""

def __init__(self, title, energy, stoichiometry):
Expand Down
2 changes: 1 addition & 1 deletion vasppy/data/potcar_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
import yaml
import yaml # type: ignore

my_path = os.path.dirname(__file__)

Expand Down
1 change: 1 addition & 0 deletions vasppy/doscar.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def plot_pdos(
) -> Figure:
if not ax:
fig, ax = plt.subplots(1, 1, figsize=(8.0, 3.0))
assert(isinstance(ax, Axes))
else:
fig = None
if not colors:
Expand Down
2 changes: 1 addition & 1 deletion vasppy/scripts/vasp_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import sys
from pathlib import Path
import yaml
import yaml # type: ignore
import tqdm # type: ignore
from multiprocessing import Pool
import argparse
Expand Down
2 changes: 1 addition & 1 deletion vasppy/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from vasppy.data.potcar_data import potcar_md5sum_data
from vasppy.utils import file_md5, md5sum, match_filename, cd
from xml.etree import ElementTree as ET
import yaml
import yaml # type: ignore
import glob
import re

Expand Down
2 changes: 1 addition & 1 deletion vasppy/vaspmeta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import yaml
import yaml # type: ignore


class VASPMeta:
Expand Down

0 comments on commit 1585d7a

Please sign in to comment.