Skip to content

Commit 2a4b8d9

Browse files
authored
Merge pull request #147 from upb-lea/ito
small changes
2 parents faad232 + 130ff3a commit 2a4b8d9

33 files changed

Lines changed: 1486 additions & 1273 deletions

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
3737
pip install pylint
3838
pylint $(git ls-files '*.py')
39+
- name: Install packages for spell check and perform spell check
40+
run: |
41+
sudo apt install aspell-en
42+
pip install pyspelling
43+
pyspelling
44+
echo finished spell checking
3945
4046
- name: install femmt package
4147
run: |

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ femmt.egg-info/
3939
onelab/
4040
*/working_directory/
4141
tests/integration/temp/
42+
docs/_templates/
4243

4344
# FEMMT: generated files
4445
femmt/electro_magnetic/Parameter.pro
@@ -76,3 +77,6 @@ femmt/thermal/solver/PostOperation.pro
7677
femmt/examples/paper_thermal_validation.py
7778
!femmt/examples/example_log.json
7879
femmt/examples/example_results
80+
81+
# pyspelling
82+
dictionary.dic

.pyspelling.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
matrix:
2+
- name: Python Source
3+
aspell:
4+
lang: en
5+
d: en_US
6+
sources:
7+
- femmt/*.py
8+
- femmt/*/*.py
9+
dictionary:
10+
wordlists:
11+
- docs/wordlist
12+
pipeline:
13+
- pyspelling.filters.python:
14+
strings: true
15+
comments: false
16+
ignore_regexp:
17+
- '.*\b(TODO|FIXME|NOTE)\b.*'
18+
- name: markdown
19+
sources:
20+
- README.rst
21+
#- CHANGELOG.md
22+
aspell:
23+
lang: en
24+
d: en_US
25+
dictionary:
26+
wordlists:
27+
- docs/wordlist
28+
pipeline:
29+
- pyspelling.filters.markdown:
30+
- pyspelling.filters.html:
31+
comments: false
32+
attributes:
33+
- title
34+
- alt
35+
ignores:
36+
- code
37+
- pre

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Stable features
3939
* Litz wire database
4040
* Core geometry database
4141
* Conductor materials: temperature curves
42-
* Ferrit materials: permeability / permittivity `material database <https://github.com/upb-lea/materialdatabase>`__ (datasheets and own measurements)
42+
* Ferrite materials: permeability / permittivity `material database <https://github.com/upb-lea/materialdatabase>`__ (datasheets and own measurements)
4343

4444
* Solver features:
4545
* Implemented using `ONELAB <https://onelab.info/>`__
@@ -63,7 +63,7 @@ Stable features
6363
* Transformer equivalent diagrams for 2- and 3-winding transformer
6464

6565
* Optimization:
66-
* Parallel computing to speed up simulations (no cpu core limitation)
66+
* Parallel computing to speed up simulations (no CPU core limitation)
6767
* Examples for Pareto optimization to adapt to your own optimization problem
6868

6969

@@ -124,7 +124,7 @@ Further steps for macOS(ARM)
124124
- Go to https://onelab.info/
125125
- Download the Desktop Version for Windows
126126
- Copy the "conveks.py" and "Onelab.py" files and paste them into the "onelab" folder
127-
- Go to http://getdp.info/
127+
- Go to https://getdp.info/
128128
- Download the macOS(ARM) Version
129129
- Open the downloaded folder, navigate to "bin" and copy the "getdp" application file
130130
- Paste the copied file into your "onelab" folder

0 commit comments

Comments
 (0)