Skip to content

Commit ece2961

Browse files
committed
Merge branch 'issue4334' of https://github.com/ansys/pyaedt into issue4334
2 parents fb5bfca + 804a839 commit ece2961

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/workflows/build_documentation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
run: |
108108
zip -r documentation-html.zip ./doc/_build/html
109109
mv documentation-html.zip ./doc/_build/html/_static/assets/download/
110-
cp doc/_build/latex/PyAEDT-Documentation-*.pdf ./doc/_build/html/_static/assets/download/documentation.pdf
110+
cp doc/_build/latex/PyAEDT-Documentation-*.pdf ./doc/_build/html/_static/assets/download/pyaedt.pdf
111111
112112
- name: Upload documentation PDF artifact
113113
uses: actions/upload-artifact@v4

doc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ phtml-no-examples:
3737
pdf:
3838
@$(SPHINXBUILD) -M latex "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
3939
cd $(BUILDDIR)/latex && latexmk -r latexmkrc -pdf *.tex -interaction=nonstopmode || true
40-
(test -f $(BUILDDIR)/latex/pyaedt.pdf && echo pdf exists) || exit 1
40+
(test -f $(BUILDDIR)/latex/PyAEDT-Documentation-*.pdf && echo pdf exists) || exit 1
4141

4242
pdf-no-examples:
4343
export PYAEDT_SKIP_EXAMPLE="1"

doc/source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ def setup(app):
344344
},
345345
{
346346
"name": "Download documentation in PDF",
347+
# NOTE: Changes to this URL must be reflected in CICD documentation build
347348
"url": f"https://{cname}/version/{switcher_version}/_static/assets/download/pyaedt.pdf",
348349
# noqa: E501
349350
"icon": "fa fa-file-pdf fa-fw",

pyaedt/emit_core/results/revision.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,7 @@ def interference_type_classification(self, domain, use_filter=False, filter_list
497497
# should just be skipped
498498
continue
499499
else:
500-
tx_prob = (
501-
instance.get_largest_emi_problem_type().replace(" ", "").split(":")[1]
502-
)
500+
tx_prob = instance.get_largest_emi_problem_type().replace(" ", "").split(":")[1]
503501
power = instance.get_value(ResultType.EMI)
504502
if (
505503
rx_start_freq - rx_channel_bandwidth / 2

0 commit comments

Comments
 (0)