|
39 | 39 | from ansys.aedt.core.generic.file_utils import generate_unique_name |
40 | 40 | from ansys.aedt.core.generic.file_utils import open_file |
41 | 41 | from ansys.aedt.core.generic.file_utils import read_configuration_file |
| 42 | +from ansys.aedt.core.generic.general_methods import deprecate_argument |
42 | 43 | from ansys.aedt.core.generic.general_methods import is_linux |
43 | 44 | from ansys.aedt.core.generic.general_methods import pyaedt_function_handler |
44 | 45 | from ansys.aedt.core.generic.settings import settings |
@@ -1648,6 +1649,10 @@ def import_edb_in_circuit(self, input_dir): |
1648 | 1649 | @pyaedt_function_handler( |
1649 | 1650 | touchstone="input_file", probe_pins="tx_schematic_pins", probe_ref_pins="tx_schematic_differential_pins" |
1650 | 1651 | ) |
| 1652 | + @deprecate_argument( |
| 1653 | + arg_name="analyze", |
| 1654 | + message="The ``analyze`` argument will be removed in future versions. Analyze before exporting results.", |
| 1655 | + ) |
1651 | 1656 | def create_tdr_schematic_from_snp( |
1652 | 1657 | self, |
1653 | 1658 | input_file, |
@@ -1792,6 +1797,10 @@ def create_tdr_schematic_from_snp( |
1792 | 1797 | return True, tdr_probe_names |
1793 | 1798 |
|
1794 | 1799 | @pyaedt_function_handler(touchstone="input_file") |
| 1800 | + @deprecate_argument( |
| 1801 | + arg_name="analyze", |
| 1802 | + message="The ``analyze`` argument will be removed in future versions. Analyze before exporting results.", |
| 1803 | + ) |
1795 | 1804 | def create_lna_schematic_from_snp( |
1796 | 1805 | self, |
1797 | 1806 | input_file, |
@@ -1906,6 +1915,10 @@ def create_lna_schematic_from_snp( |
1906 | 1915 | tx_refs="tx_schematic_differential_pins", |
1907 | 1916 | rx_refs="rx_schematic_differentialial_pins", |
1908 | 1917 | ) |
| 1918 | + @deprecate_argument( |
| 1919 | + arg_name="analyze", |
| 1920 | + message="The ``analyze`` argument will be removed in future versions. Analyze before exporting results.", |
| 1921 | + ) |
1909 | 1922 | def create_ami_schematic_from_snp( |
1910 | 1923 | self, |
1911 | 1924 | input_file, |
@@ -2008,6 +2021,10 @@ def create_ami_schematic_from_snp( |
2008 | 2021 | ) |
2009 | 2022 |
|
2010 | 2023 | @pyaedt_function_handler() |
| 2024 | + @deprecate_argument( |
| 2025 | + arg_name="analyze", |
| 2026 | + message="The ``analyze`` argument will be removed in future versions. Analyze before exporting results.", |
| 2027 | + ) |
2011 | 2028 | def create_ibis_schematic_from_snp( |
2012 | 2029 | self, |
2013 | 2030 | input_file, |
@@ -2122,6 +2139,10 @@ def create_ibis_schematic_from_snp( |
2122 | 2139 | ) |
2123 | 2140 |
|
2124 | 2141 | @pyaedt_function_handler() |
| 2142 | + @deprecate_argument( |
| 2143 | + arg_name="analyze", |
| 2144 | + message="The ``analyze`` argument will be removed in future versions. Analyze before exporting results.", |
| 2145 | + ) |
2125 | 2146 | def create_ibis_schematic_from_pins( |
2126 | 2147 | self, |
2127 | 2148 | ibis_tx_file, |
|
0 commit comments