Skip to content

Commit

Permalink
Merge pull request #35 from joamatab/gdsfactory8
Browse files Browse the repository at this point in the history
works for gdsfactory8
  • Loading branch information
flaport committed Jun 15, 2024
2 parents 5a7062c + 0469a89 commit 2d20335
Show file tree
Hide file tree
Showing 18 changed files with 1,039 additions and 975 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ repos:
rev: 23.9.1
hooks:
- id: black
language_version: python3.11
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
hooks:
- id: black-jupyter
language_version: python3.11
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,13 @@ docs:

run:
find examples -name "*.ipynb" | grep -v ipynb_checkpoints | xargs -I {} papermill -k meow {} {}

clean:
find . -name "dist" | xargs rm -rf
find . -name "build" | xargs rm -rf
find . -name "builds" | xargs rm -rf
find . -name "__pycache__" | xargs rm -rf
find . -name "*.so" | xargs rm -rf
find . -name ".ipynb_checkpoints" | xargs rm -rf
find . -name ".pytest_cache" | xargs rm -rf
find . -name ".mypy_cache" | xargs rm -rf
132 changes: 66 additions & 66 deletions examples/00_introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"id": "dd643a5d-d081-48d7-a8ed-2c4b80faa122",
"metadata": {
"papermill": {
"duration": 0.007106,
"end_time": "2023-06-23T18:59:48.941899",
"duration": 0.011108,
"end_time": "2024-06-14T09:06:42.649900",
"exception": false,
"start_time": "2023-06-23T18:59:48.934793",
"start_time": "2024-06-14T09:06:42.638792",
"status": "completed"
},
"tags": []
Expand All @@ -25,10 +25,10 @@
"id": "4859f69dd76d8b17",
"metadata": {
"papermill": {
"duration": 8.942686,
"end_time": "2023-06-23T18:59:57.891071",
"duration": 6.398944,
"end_time": "2024-06-14T09:06:49.060286",
"exception": false,
"start_time": "2023-06-23T18:59:48.948385",
"start_time": "2024-06-14T09:06:42.661342",
"status": "completed"
},
"tags": [
Expand All @@ -48,10 +48,10 @@
"id": "2d28a1cd-a5db-4e58-b141-c6a20a0a5657",
"metadata": {
"papermill": {
"duration": 0.005378,
"end_time": "2023-06-23T18:59:57.902579",
"duration": 0.004485,
"end_time": "2024-06-14T09:06:49.069379",
"exception": false,
"start_time": "2023-06-23T18:59:57.897201",
"start_time": "2024-06-14T09:06:49.064894",
"status": "completed"
},
"tags": []
Expand All @@ -69,10 +69,10 @@
"id": "e563a59a-6494-431b-b124-6c1804a6c7cb",
"metadata": {
"papermill": {
"duration": 0.014761,
"end_time": "2023-06-23T18:59:57.923141",
"duration": 0.00443,
"end_time": "2024-06-14T09:06:49.078294",
"exception": false,
"start_time": "2023-06-23T18:59:57.908380",
"start_time": "2024-06-14T09:06:49.073864",
"status": "completed"
},
"tags": []
Expand All @@ -86,10 +86,10 @@
"id": "18f7b08a-7303-4454-a31c-1fea3d7c42af",
"metadata": {
"papermill": {
"duration": 0.005639,
"end_time": "2023-06-23T18:59:57.942153",
"duration": 0.004589,
"end_time": "2024-06-14T09:06:49.087448",
"exception": false,
"start_time": "2023-06-23T18:59:57.936514",
"start_time": "2024-06-14T09:06:49.082859",
"status": "completed"
},
"tags": []
Expand All @@ -109,10 +109,10 @@
"id": "873fae6e-3435-4a89-8f3f-06a33a8755ed",
"metadata": {
"papermill": {
"duration": 0.127087,
"end_time": "2023-06-23T18:59:58.087988",
"duration": 0.380012,
"end_time": "2024-06-14T09:06:49.472035",
"exception": false,
"start_time": "2023-06-23T18:59:57.960901",
"start_time": "2024-06-14T09:06:49.092023",
"status": "completed"
},
"tags": []
Expand Down Expand Up @@ -154,10 +154,10 @@
"id": "ec547819-c3c3-42ac-9cb4-33c183680bf2",
"metadata": {
"papermill": {
"duration": 0.052402,
"end_time": "2023-06-23T18:59:58.187925",
"duration": 0.059906,
"end_time": "2024-06-14T09:06:49.592488",
"exception": false,
"start_time": "2023-06-23T18:59:58.135523",
"start_time": "2024-06-14T09:06:49.532582",
"status": "completed"
},
"tags": []
Expand All @@ -173,10 +173,10 @@
"id": "5e7eee72-2ab4-498f-bd0b-3b80feba483e",
"metadata": {
"papermill": {
"duration": 0.023111,
"end_time": "2023-06-23T18:59:58.235828",
"duration": 0.069542,
"end_time": "2024-06-14T09:06:49.723694",
"exception": false,
"start_time": "2023-06-23T18:59:58.212717",
"start_time": "2024-06-14T09:06:49.654152",
"status": "completed"
},
"tags": []
Expand All @@ -193,10 +193,10 @@
"id": "50df56f0-ce78-41f5-a854-8d1cfa486392",
"metadata": {
"papermill": {
"duration": 0.0578,
"end_time": "2023-06-23T18:59:58.317784",
"duration": 0.075818,
"end_time": "2024-06-14T09:06:49.870779",
"exception": false,
"start_time": "2023-06-23T18:59:58.259984",
"start_time": "2024-06-14T09:06:49.794961",
"status": "completed"
},
"tags": []
Expand Down Expand Up @@ -224,10 +224,10 @@
"id": "53b6f32e-e2ae-491d-bfee-3db2616e6063",
"metadata": {
"papermill": {
"duration": 0.063112,
"end_time": "2023-06-23T18:59:58.411303",
"duration": 0.078736,
"end_time": "2024-06-14T09:06:50.020344",
"exception": false,
"start_time": "2023-06-23T18:59:58.348191",
"start_time": "2024-06-14T09:06:49.941608",
"status": "completed"
},
"tags": []
Expand All @@ -242,10 +242,10 @@
"id": "51f21eed-1004-4b27-b471-d5d3b3232359",
"metadata": {
"papermill": {
"duration": 0.836946,
"end_time": "2023-06-23T18:59:59.299852",
"duration": 1.31571,
"end_time": "2024-06-14T09:06:51.395835",
"exception": false,
"start_time": "2023-06-23T18:59:58.462906",
"start_time": "2024-06-14T09:06:50.080125",
"status": "completed"
},
"tags": []
Expand All @@ -260,10 +260,10 @@
"id": "ee4e586c-bc2d-427f-a95e-83cc7b0af5e2",
"metadata": {
"papermill": {
"duration": 0.078329,
"end_time": "2023-06-23T18:59:59.424528",
"duration": 0.101113,
"end_time": "2024-06-14T09:06:51.583847",
"exception": false,
"start_time": "2023-06-23T18:59:59.346199",
"start_time": "2024-06-14T09:06:51.482734",
"status": "completed"
},
"tags": []
Expand All @@ -281,10 +281,10 @@
"id": "a88e01ae-06c4-43d9-8c2e-dfe2ee4e0d91",
"metadata": {
"papermill": {
"duration": 1.109772,
"end_time": "2023-06-23T19:00:00.601031",
"duration": 2.239601,
"end_time": "2024-06-14T09:06:53.959969",
"exception": false,
"start_time": "2023-06-23T18:59:59.491259",
"start_time": "2024-06-14T09:06:51.720368",
"status": "completed"
},
"tags": []
Expand All @@ -301,10 +301,10 @@
"id": "08c90cb2-e6f5-4251-8e05-c927be29fd29",
"metadata": {
"papermill": {
"duration": 0.094034,
"end_time": "2023-06-23T19:00:00.755995",
"duration": 0.148495,
"end_time": "2024-06-14T09:06:54.230216",
"exception": false,
"start_time": "2023-06-23T19:00:00.661961",
"start_time": "2024-06-14T09:06:54.081721",
"status": "completed"
},
"tags": []
Expand All @@ -320,10 +320,10 @@
"id": "47e444c0-987e-4601-a8cd-c3cdeb8e0824",
"metadata": {
"papermill": {
"duration": 33.460903,
"end_time": "2023-06-23T19:00:34.306443",
"duration": 78.778884,
"end_time": "2024-06-14T09:08:13.118868",
"exception": false,
"start_time": "2023-06-23T19:00:00.845540",
"start_time": "2024-06-14T09:06:54.339984",
"status": "completed"
},
"tags": []
Expand All @@ -344,10 +344,10 @@
"id": "98bd86d4-fb46-4b2c-be39-0fcd6f5d8cce",
"metadata": {
"papermill": {
"duration": 33.460903,
"end_time": "2023-06-23T19:00:34.306443",
"duration": 1.668541,
"end_time": "2024-06-14T09:08:14.861994",
"exception": false,
"start_time": "2023-06-23T19:00:00.845540",
"start_time": "2024-06-14T09:08:13.193453",
"status": "completed"
},
"tags": []
Expand All @@ -365,10 +365,10 @@
"id": "a08e7375-3fe5-4f86-a7bc-260add35dac4",
"metadata": {
"papermill": {
"duration": 0.030335,
"end_time": "2023-06-23T19:00:34.368019",
"duration": 0.038594,
"end_time": "2024-06-14T09:08:14.932676",
"exception": false,
"start_time": "2023-06-23T19:00:34.337684",
"start_time": "2024-06-14T09:08:14.894082",
"status": "completed"
},
"tags": []
Expand All @@ -384,10 +384,10 @@
"id": "7abc9801-fc8b-43ef-b7ba-4328957d4370",
"metadata": {
"papermill": {
"duration": 0.070431,
"end_time": "2023-06-23T19:00:34.468923",
"duration": 0.045521,
"end_time": "2024-06-14T09:08:15.033610",
"exception": false,
"start_time": "2023-06-23T19:00:34.398492",
"start_time": "2024-06-14T09:08:14.988089",
"status": "completed"
},
"tags": []
Expand All @@ -404,10 +404,10 @@
"id": "8600e5a7-5e34-4b5c-abf5-737cd01734dc",
"metadata": {
"papermill": {
"duration": 2.836931,
"end_time": "2023-06-23T19:00:37.363208",
"duration": 7.31733,
"end_time": "2024-06-14T09:08:22.415873",
"exception": false,
"start_time": "2023-06-23T19:00:34.526277",
"start_time": "2024-06-14T09:08:15.098543",
"status": "completed"
},
"tags": []
Expand All @@ -425,10 +425,10 @@
"id": "afff8c93-5a21-46bf-b5e6-8b5530b75523",
"metadata": {
"papermill": {
"duration": 0.03079,
"end_time": "2023-06-23T19:00:37.427252",
"duration": 0.112775,
"end_time": "2024-06-14T09:08:22.644525",
"exception": false,
"start_time": "2023-06-23T19:00:37.396462",
"start_time": "2024-06-14T09:08:22.531750",
"status": "completed"
},
"tags": []
Expand All @@ -440,9 +440,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "sax",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "sax"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -454,18 +454,18 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.12.2"
},
"papermill": {
"default_parameters": {},
"duration": 54.356421,
"end_time": "2023-06-23T19:00:40.221878",
"duration": 104.847267,
"end_time": "2024-06-14T09:08:25.719404",
"environment_variables": {},
"exception": null,
"input_path": "./examples/00_introduction.ipynb",
"output_path": "./examples/00_introduction.ipynb",
"parameters": {},
"start_time": "2023-06-23T18:59:45.865457",
"start_time": "2024-06-14T09:06:40.872137",
"version": "2.3.4"
},
"vscode": {
Expand Down
Loading

0 comments on commit 2d20335

Please sign in to comment.