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 Dec 18, 2023
1 parent bdd5376 commit d5a045a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion sunglass/materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ def print_properties(self, *args):


if __name__ == "__main__":

valid_materials = sorted(solcore.ParameterSystem().database.sections())
valid_materials.remove("Immediate Calculables")
valid_materials.remove("Final Calculables")
Expand Down
2 changes: 0 additions & 2 deletions sunglass/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def plot_dark_iv(self, data: pd.DataFrame) -> None:
"""

for name in data.columns.values:

# Plotting tunnel junctions IV
if "J_TJ" in name:
label = "Isolated {}".format(name.split("_")[1])
Expand Down Expand Up @@ -121,7 +120,6 @@ def plot_light_iv(self, data: pd.DataFrame, spectrum: LightSource) -> None:
self.outputs["eta"] = self.outputs["mpp"] / spectrum.power_density

for name in data.columns.values:

# Plotting tunnel junctions IV. Actually, we need to review this as TJ have
# opposite polarity than
# normal J and therefore should look more like Rs.
Expand Down
2 changes: 0 additions & 2 deletions sunglass/save_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def save_qe_data(root_filename, output):
qe_data = OrderedDict({"WL": output.wavelength, "R": output.reflected})

for j in range(len(output)):

# All layers and junctions have defined a fraction of absorbed light, except
# some TJ and 2D kind of
# junctions. We try to get that, first.
Expand Down Expand Up @@ -84,7 +83,6 @@ def save_bandstructure_data(root_filename, output, task):
tsk = "{}_data".format(task)

for j in output.junction_indices:

# Only junctions have information on bandstructure, and not all the models, so
# we take that into account.
try:
Expand Down

0 comments on commit d5a045a

Please sign in to comment.