Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: https://github.com/psf/black
rev: 24.4.2 # Replace by any tag/version: https://github.com/psf/black/tags
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
args: ["--line-length", "99"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: datasets|.data$
Expand Down
1 change: 0 additions & 1 deletion scripts/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import numpy as np
import os


""" Following example shows how the phasematching (M) factors can be calculated in a 2_dimensional
manner and converted to a WrightTools data object. Other methods can be employed such as use
in a WrightSim object or in other simulations. The other methods found in the phasematching script
Expand Down
1 change: 0 additions & 1 deletion scripts/example2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
from sympy import *


filepath = os.path.join(os.getcwd(), "tests")
lay1file = os.path.join(filepath, "CaF2_Malitson.txt")

Expand Down
1 change: 0 additions & 1 deletion scripts/example3.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
from sympy import *


"""Example 3. Simulation of a map of expected angles to achieve phasematching in the liquid layer
of a multilayer cell. Plots separate both possible solutions (negative and positive)."""

Expand Down
1 change: 0 additions & 1 deletion scripts/example4.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
from sympy import *


filepath = os.path.join(os.getcwd(), "tests")
lay1file = os.path.join(filepath, "CH3CN_paste_1.txt")
lay2file = os.path.join(filepath, "sapphire1.txt")
Expand Down
1 change: 0 additions & 1 deletion scripts/example5.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
from sympy import *


filepath = os.path.join(os.getcwd(), "tests")
lay3file = os.path.join(filepath, "CaF2_Malitson.txt")
lay4file = os.path.join(filepath, "CH3CN_paste_1.txt")
Expand Down
1 change: 0 additions & 1 deletion scripts/example6.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
from sympy import *


filepath = os.path.join(os.getcwd(), "tests")
lay3file = os.path.join(filepath, "CaF2_Malitson.txt")
lay4file = os.path.join(filepath, "CH3CN_paste_1.txt")
Expand Down
1 change: 0 additions & 1 deletion scripts/example7.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import os
from sympy import *


filepath = os.path.join(os.getcwd(), "tests")
lay1file = os.path.join(filepath, "sapphire1.txt")
lay2file = os.path.join(filepath, "H2O_1.txt")
Expand Down
1 change: 0 additions & 1 deletion tests/test_lasers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import phasematching_calc as pc
import os


"""Test Requires R/W permissions in tests folder."""


Expand Down
Loading