Skip to content

Commit 4cdfb7c

Browse files
committed
more fixes to tests and examples
1 parent 0110d5e commit 4cdfb7c

6 files changed

Lines changed: 10 additions & 7 deletions

File tree

examples/mobility/gmsh_mos2d_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from ds import *
15+
from devsim import *
1616
device ="mos2d"
1717

1818
device_width =1.0e-4

examples/mobility/gmsh_mos2d_kla.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#set_parameter -name threads_available -value 1
1616
#set_parameter -name threads_task_size -value 1024
1717
import gmsh_mos2d_create
18-
from ds import *
18+
from devsim import *
1919
from python_packages.simple_physics import *
2020
from python_packages.ramp import *
2121
from python_packages.Klaassen import *

examples/mobility/pythonmesh2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ds import *
1+
from devsim import *
22
import python_packages.pythonmesh
33

44
def gmsh_reader(mesh, device, filename="", coordinates="", physical_names="", elements=""):

examples/vectorpotential/twowire.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from ds import *
15+
from devsim import *
1616
device="twowire"
1717

1818
create_gmsh_mesh(file="twowire.msh", mesh="twowire")

python_packages/ramp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import sys
1616
sys.path.append('../../python_packages')
1717
from devsim import *
18-
import ds
18+
import devsim
1919
from simple_physics import *
2020

2121
def rampbias(device, contact, end_bias, step_size, min_step, max_iter, rel_error, abs_error, callback):
@@ -43,7 +43,7 @@ def rampbias(device, contact, end_bias, step_size, min_step, max_iter, rel_error
4343
set_parameter(device=device, name=GetContactBiasName(contact), value=next_bias)
4444
try:
4545
solve(type="dc", absolute_error=abs_error, relative_error=rel_error, maximum_iterations=max_iter)
46-
except ds.error as msg:
46+
except devsim.error as msg:
4747
if msg[0].find("Convergence failure") != 0:
4848
raise
4949
set_parameter(device=device, name=GetContactBiasName(contact), value=last_bias)

testing/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,7 @@ ADD_TEST("testing/laux1" ${RUNDIFFTEST} "${DEVSIM_PY} laux1.py" ${GOLDENDIR}/tes
218218
# this is weird since it is dependent on one of our tcl tests
219219
set_tests_properties("testing/laux1" PROPERTIES DEPENDS testing/trimesh2)
220220

221-
set_tests_properties("${DIODE_DIR}/laux2d" PROPERTIES ENVIRONMENT "DYLD_INSERT_LIBRARIES=$ENV{DYLD_INSERT_LIBRARIES};PYTHONHOME=$ENV{PYTHONHOME}")
221+
#set_tests_properties("${DIODE_DIR}/laux2d" PROPERTIES ENVIRONMENT "DYLD_INSERT_LIBRARIES=$ENV{DYLD_INSERT_LIBRARIES};PYTHONHOME=$ENV{PYTHONHOME}")
222+
223+
224+

0 commit comments

Comments
 (0)