-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #759 from janosh/flake8+isort
Flake8+isort
- Loading branch information
Showing
78 changed files
with
290 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
from functools import reduce | ||
|
||
from pandas import DataFrame | ||
|
||
from pymatgen.core.structure import Structure | ||
|
||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
|
||
from aflow import K # module of aflow Keyword properties | ||
from aflow.caster import cast | ||
from aflow.control import Query | ||
from aflow.entries import AflowFile | ||
from pandas import DataFrame | ||
from pymatgen.core.structure import Structure | ||
|
||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
|
||
__author__ = ["Maxwell Dylla <[email protected]>"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
import os | ||
import time | ||
from collections import Counter | ||
|
||
import numpy as np | ||
import pandas as pd | ||
from citrination_client import ( | ||
CitrinationClient, | ||
ChemicalFieldQuery, | ||
ChemicalFilter, | ||
CitrinationClient, | ||
DataQuery, | ||
DatasetQuery, | ||
FieldQuery, | ||
PropertyQuery, | ||
Filter, | ||
ReferenceQuery, | ||
PifSystemQuery, | ||
DatasetQuery, | ||
DataQuery, | ||
PifSystemReturningQuery, | ||
PropertyQuery, | ||
ReferenceQuery, | ||
) | ||
import os | ||
import time | ||
import pandas as pd | ||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
from tqdm import tqdm | ||
from pandas.io.json import json_normalize | ||
import numpy as np | ||
from collections import Counter | ||
from tqdm import tqdm | ||
|
||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
|
||
__author__ = [ | ||
"Saurabh Bajaj <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import pandas as pd | ||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
|
||
from mdf_forge.forge import Forge | ||
|
||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
from matminer.utils.flatten_dict import flatten_dict | ||
|
||
__author__ = "Joseph Montoya <[email protected]>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
import pandas as pd | ||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
from pymatgen.ext.matproj import MPRester, MPRestError | ||
|
||
from pymatgen.ext.matproj import MPRester | ||
from pymatgen.ext.matproj import MPRestError | ||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
|
||
__author__ = [ | ||
"Saurabh Bajaj <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import pandas as pd | ||
from functools import reduce | ||
from itertools import groupby | ||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
|
||
import pandas as pd | ||
from tqdm import tqdm | ||
from functools import reduce | ||
|
||
from matminer.data_retrieval.retrieve_base import BaseDataRetrieval | ||
|
||
__author__ = "Anubhav Jain <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from .dataset_retrieval import ( | ||
load_dataset, | ||
get_all_dataset_info, | ||
get_available_datasets, | ||
get_dataset_attribute, | ||
get_dataset_citations, | ||
get_dataset_column_description, | ||
get_dataset_reference, | ||
get_dataset_columns, | ||
get_dataset_num_entries, | ||
get_dataset_description, | ||
get_dataset_attribute, | ||
get_all_dataset_info, | ||
get_dataset_num_entries, | ||
get_dataset_reference, | ||
load_dataset, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import unittest | ||
import os | ||
import unittest | ||
|
||
from matminer.datasets.utils import _load_dataset_dict | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import os | ||
import hashlib | ||
import json | ||
import requests | ||
import os | ||
|
||
import tqdm | ||
import pandas as pd | ||
import requests | ||
import tqdm | ||
|
||
__author__ = "Daniel Dopp <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import sys | ||
import warnings | ||
from collections import OrderedDict | ||
|
||
import numpy as np | ||
from collections import OrderedDict | ||
from numpy.linalg import norm | ||
from scipy.interpolate import griddata | ||
|
||
from matminer.featurizers.base import BaseFeaturizer | ||
from pymatgen.electronic_structure.core import Spin | ||
from pymatgen.electronic_structure.bandstructure import ( | ||
BandStructure, | ||
BandStructureSymmLine, | ||
) | ||
from pymatgen.electronic_structure.core import Spin | ||
from pymatgen.symmetry.analyzer import SpacegroupAnalyzer | ||
from scipy.interpolate import griddata | ||
|
||
from matminer.featurizers.base import BaseFeaturizer | ||
|
||
__author__ = "Anubhav Jain <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
from matminer.featurizers.composition.element import ElementFraction, TMetalFraction, Stoichiometry, BandCenter | ||
|
||
from matminer.featurizers.composition.composite import Meredig, ElementProperty | ||
|
||
from matminer.featurizers.composition.alloy import YangSolidSolution, Miedema, WenAlloys | ||
|
||
from matminer.featurizers.composition.alloy import Miedema, WenAlloys, YangSolidSolution | ||
from matminer.featurizers.composition.composite import ElementProperty, Meredig | ||
from matminer.featurizers.composition.element import ( | ||
BandCenter, | ||
ElementFraction, | ||
Stoichiometry, | ||
TMetalFraction, | ||
) | ||
from matminer.featurizers.composition.ion import ( | ||
IonProperty, | ||
CationProperty, | ||
OxidationStates, | ||
ElectronAffinity, | ||
ElectronegativityDiff, | ||
IonProperty, | ||
OxidationStates, | ||
) | ||
|
||
from matminer.featurizers.composition.orbital import AtomicOrbitals, ValenceOrbital | ||
|
||
|
||
from matminer.featurizers.composition.packing import AtomicPackingEfficiency | ||
from matminer.featurizers.composition.thermo import CohesiveEnergyMP, CohesiveEnergy | ||
from matminer.featurizers.composition.thermo import CohesiveEnergy, CohesiveEnergyMP |
Oops, something went wrong.