From 95919b86cd0ebdd51789263fa8967aad44149fae Mon Sep 17 00:00:00 2001 From: momchil Date: Mon, 22 Apr 2024 13:56:17 -0700 Subject: [PATCH] Updating Anderson notebook and notebook tests --- docs/notebooks | 2 +- tests/_test_notebooks/full_test_notebooks.py | 48 ++++++++++++++++---- 2 files changed, 40 insertions(+), 10 deletions(-) diff --git a/docs/notebooks b/docs/notebooks index 35237a02e..8ea4d9399 160000 --- a/docs/notebooks +++ b/docs/notebooks @@ -1 +1 @@ -Subproject commit 35237a02e72678565df09fccd51da4e3aef8cdce +Subproject commit 8ea4d93998f5db72a9437c0d50bb6b5e175353d6 diff --git a/tests/_test_notebooks/full_test_notebooks.py b/tests/_test_notebooks/full_test_notebooks.py index 5343688e7..e000b791b 100644 --- a/tests/_test_notebooks/full_test_notebooks.py +++ b/tests/_test_notebooks/full_test_notebooks.py @@ -28,17 +28,22 @@ notebook_base = path.split("/")[-1] print(f"'{notebook_base[:-6]}',") - # if you want to run only some notebooks, put here, if empty, run all -run_only = [] +run_only = [ +] skip = [ - "AdjointPlugin5BoundaryGradients", - "AdjointPlugin6GratingCoupler", - "AdjointPlugin7Metalens", - "AdjointPlugin8WaveguideBend", - "AdjointPlugin9WDM", - "AdjointPlugin11CircuitMZI", + +# long time (excluding most adjoint) +'8ChannelDemultiplexer', +'BullseyeCavityPSO', +'FocusedApodGC', +"GeneticAlgorithmReflector", +'ParticleSwarmOptimizedPBS', + +# hang by default +"AdjointPlugin14PreFab.ipynb", +"WaveguideBendSimulator", ] # if any run only supplied, only add those @@ -52,13 +57,17 @@ notebook_filenames.append(fname) """ -as of Nov 10 2023 +as of April 15 2024 '8ChannelDemultiplexer', '90BendPolarizationSplitterRotator', '90OpticalHybrid', 'AdiabaticCouplerLN', +'AdjointPlugin0Quickstart', 'AdjointPlugin10YBranchLevelSet', 'AdjointPlugin11CircuitMZI', +'AdjointPlugin12LightExtractor', +'AdjointPlugin13Metasurface', +'AdjointPlugin14PreFab', 'AdjointPlugin1Intro', 'AdjointPlugin2GradientChecking', 'AdjointPlugin3InverseDesign', @@ -68,10 +77,12 @@ 'AdjointPlugin7Metalens', 'AdjointPlugin8WaveguideBend', 'AdjointPlugin9WDM', +'AllDielectricStructuralColor', 'AndersonLocalization', 'AnimationTutorial', 'AutoGrid', 'Bandstructure', +'BilayerSiNEdgeCoupler', 'BilevelPSR', 'BiosensorGrating', 'BistablePCCavity', @@ -79,22 +90,29 @@ 'BraggGratings', 'BroadbandDirectionalCoupler', 'BullseyeCavityPSO', +'CMOSRGBSensor', 'CavityFOM', 'CreatingGeometryUsingTrimesh', 'CustomFieldSource', 'CustomMediumTutorial', +'Design', 'DielectricMetasurfaceAbsorber', 'Dispersion', 'DistributedBraggReflectorCavity', 'DivergedFDTDSimulation', +'EMESolver', 'EdgeCoupler', +'EffectiveIndexApproximation', 'EulerWaveguideBend', 'FieldProjections', 'Fitting', 'FocusedApodGC', 'FresnelLens', 'FullyAnisotropic', +'GDSExport', 'GDSImport', +'GeneticAlgorithmReflector', +'GeometryTransformations', 'GradientMetasurfaceReflector', 'GrapheneMetamaterial', 'GratingCoupler', @@ -103,7 +121,9 @@ 'HeatSolver', 'HighQGe', 'HighQSi', +'MIMResonator', 'MMI1x4', +'MachZehnderModulator', 'MetalHeaterPhaseShifter', 'Metalens', 'MicrowaveFrequencySelectiveSurface', @@ -115,6 +135,7 @@ 'Near2FarSphereRCS', 'NonHermitianMetagratings', 'OpticalLuneburgLens', +'OpticalSwitchDBS', 'OptimizedL3', 'PICComponents', 'ParameterScan', @@ -122,6 +143,7 @@ 'PhotonicCrystalWaveguidePolarizationFilter', 'PhotonicCrystalsComponents', 'PlasmonicNanoparticle', +'PlasmonicNanorodArray', 'PlasmonicWaveguideCO2Sensor', 'PlasmonicYagiUdaNanoantenna', 'PolarizationSplitterRotator', @@ -132,6 +154,8 @@ 'SMatrix', 'STLImport', 'SWGBroadbandPolarizer', +'SbendCMAES', +'ScaleInvariantWaveguide', 'SelfIntersectingPolyslab', 'Simulation', 'StartHere', @@ -140,14 +164,20 @@ 'TFSF', 'THzDemultiplexerFilter', 'ThermallyTunedRingResonator', +'ThermoOpticDopedModulator', 'TimeModulationTutorial', +'TunableChiralMetasurface', +'UnstructuredData', 'VizData', 'VizSimulation', +'WaveguideBendSimulator', 'WaveguideCrossing', +'WaveguideGratingAntenna', 'WaveguidePluginDemonstration', 'WaveguideSizeConverter', 'WaveguideToRingCoupling', 'WebAPI', +'XarrayTutorial', 'YJunction', 'ZeroCrossTalkTE', 'ZonePlateFieldProjection',