lightning-pose-app 1.8.1a1__tar.gz → 1.8.1a2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/PKG-INFO +1 -1
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/pyproject.toml +1 -1
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/main.py +15 -5
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/ngdist/ng_app/3rdpartylicenses.txt +11 -11
- lightning_pose_app-1.8.1a2/src/litpose_app/ngdist/ng_app/app.component-IZ5OUDH2.css.map +7 -0
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/ngdist/ng_app/index.html +11 -2
- lightning_pose_app-1.8.1a1/src/litpose_app/ngdist/ng_app/main-QMBNNDJG.js → lightning_pose_app-1.8.1a2/src/litpose_app/ngdist/ng_app/main-WFYIUX2C.js +849 -525
- lightning_pose_app-1.8.1a2/src/litpose_app/ngdist/ng_app/main-WFYIUX2C.js.map +1 -0
- lightning_pose_app-1.8.1a2/src/litpose_app/ngdist/ng_app/project-settings.component-BXKZMYM3.css.map +7 -0
- lightning_pose_app-1.8.1a1/src/litpose_app/ngdist/ng_app/styles-JT3DWFJR.css → lightning_pose_app-1.8.1a2/src/litpose_app/ngdist/ng_app/styles-AJ6NQDUD.css +376 -19
- lightning_pose_app-1.8.1a2/src/litpose_app/ngdist/ng_app/styles-AJ6NQDUD.css.map +7 -0
- lightning_pose_app-1.8.1a2/src/litpose_app/ngdist/ng_app/viewer-page.component-KIYG73MW.css.map +7 -0
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/super_rglob.py +18 -6
- lightning_pose_app-1.8.1a1/src/litpose_app/ngdist/ng_app/main-QMBNNDJG.js.map +0 -1
- lightning_pose_app-1.8.1a1/src/litpose_app/ngdist/ng_app/styles-JT3DWFJR.css.map +0 -7
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/__init__.py +0 -0
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/ngdist/ng_app/error-dialog.component-HYLQSJEP.css.map +0 -0
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/ngdist/ng_app/favicon.ico +0 -0
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/ngdist/ng_app/prerendered-routes.json +0 -0
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/ngdist/ng_app/video-player-controls.component-C4JZHYJ2.css.map +0 -0
- {lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/run_ffprobe.py +0 -0
|
@@ -47,9 +47,9 @@ PROJECT_INFO_TOML_PATH = Path("~/.lightning_pose/project.toml").expanduser()
|
|
|
47
47
|
class ProjectInfo(BaseModel):
|
|
48
48
|
"""Class to hold information about the project"""
|
|
49
49
|
|
|
50
|
-
data_dir: Path =
|
|
51
|
-
model_dir: Path =
|
|
52
|
-
views: list[str] =
|
|
50
|
+
data_dir: Path | None = None
|
|
51
|
+
model_dir: Path | None = None
|
|
52
|
+
views: list[str] | None = None
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
"""
|
|
@@ -108,11 +108,21 @@ def set_project_info(request: SetProjectInfoRequest) -> None:
|
|
|
108
108
|
# Convert the Pydantic model to a dictionary for TOML serialization.
|
|
109
109
|
# Use mode=json to make the resulting dict json-serializable (and thus
|
|
110
110
|
# also toml serializable)
|
|
111
|
-
project_data_dict = request.projectInfo.model_dump(
|
|
111
|
+
project_data_dict = request.projectInfo.model_dump(
|
|
112
|
+
mode="json", exclude_none=True
|
|
113
|
+
)
|
|
114
|
+
try:
|
|
115
|
+
with open(PROJECT_INFO_TOML_PATH, "rb") as f:
|
|
116
|
+
existing_project_data = tomli.load(f)
|
|
117
|
+
except FileNotFoundError:
|
|
118
|
+
existing_project_data = {}
|
|
119
|
+
|
|
120
|
+
# Apply changes onto existing data, i.e. PATCH semantics.
|
|
121
|
+
existing_project_data.update(project_data_dict)
|
|
112
122
|
|
|
113
123
|
# Open the file in binary write mode to write the TOML data
|
|
114
124
|
with open(PROJECT_INFO_TOML_PATH, "wb") as f:
|
|
115
|
-
tomli_w.dump(
|
|
125
|
+
tomli_w.dump(existing_project_data, f)
|
|
116
126
|
|
|
117
127
|
return None
|
|
118
128
|
|
|
@@ -341,17 +341,17 @@ License: "Apache-2.0"
|
|
|
341
341
|
Package: tslib
|
|
342
342
|
License: "0BSD"
|
|
343
343
|
|
|
344
|
-
Copyright (c) Microsoft Corporation.
|
|
345
|
-
|
|
346
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
347
|
-
purpose with or without fee is hereby granted.
|
|
348
|
-
|
|
349
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
350
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
351
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
352
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
353
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
354
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
344
|
+
Copyright (c) Microsoft Corporation.
|
|
345
|
+
|
|
346
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
347
|
+
purpose with or without fee is hereby granted.
|
|
348
|
+
|
|
349
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
350
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
351
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
352
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
353
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
354
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
355
355
|
PERFORMANCE OF THIS SOFTWARE.
|
|
356
356
|
--------------------------------------------------------------------------------
|
|
357
357
|
Package: @angular/common
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["app.component.html"],
|
|
4
|
+
"sourcesContent": ["\n :host {\n display: flex;\n flex-direction: column;\n height: 100vh;\n }\n .navbar {\n min-height: 3rem; /* reduce from default of 4rem */\n }\n"],
|
|
5
|
+
"mappings": ";AACE;AACE,WAAA;AACA,kBAAA;AACA,UAAA;AACF;AACA,CAAA;AACE,cAAA;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
{lightning_pose_app-1.8.1a1 → lightning_pose_app-1.8.1a2}/src/litpose_app/ngdist/ng_app/index.html
RENAMED
|
@@ -332,10 +332,17 @@
|
|
|
332
332
|
--color-black: #000;
|
|
333
333
|
--spacing: 0.25rem;
|
|
334
334
|
--container-xs: 20rem;
|
|
335
|
+
--container-lg: 32rem;
|
|
335
336
|
--text-sm: 0.875rem;
|
|
336
337
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
337
338
|
--text-base: 1rem;
|
|
338
339
|
--text-base--line-height: calc(1.5 / 1);
|
|
340
|
+
--text-lg: 1.125rem;
|
|
341
|
+
--text-lg--line-height: calc(1.75 / 1.125);
|
|
342
|
+
--text-xl: 1.25rem;
|
|
343
|
+
--text-xl--line-height: calc(1.75 / 1.25);
|
|
344
|
+
--font-weight-semibold: 600;
|
|
345
|
+
--font-weight-bold: 700;
|
|
339
346
|
--radius-sm: 0.25rem;
|
|
340
347
|
--radius-md: 0.375rem;
|
|
341
348
|
--default-font-family: var(--font-sans);
|
|
@@ -397,6 +404,7 @@
|
|
|
397
404
|
--fx-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E");
|
|
398
405
|
}
|
|
399
406
|
}
|
|
407
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
400
408
|
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
401
409
|
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
402
410
|
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
@@ -417,6 +425,7 @@
|
|
|
417
425
|
*,
|
|
418
426
|
::before,
|
|
419
427
|
::after {
|
|
428
|
+
--tw-font-weight: initial;
|
|
420
429
|
--tw-shadow: 0 0 #0000;
|
|
421
430
|
--tw-shadow-color: initial;
|
|
422
431
|
--tw-shadow-alpha: 100%;
|
|
@@ -435,8 +444,8 @@
|
|
|
435
444
|
}
|
|
436
445
|
}
|
|
437
446
|
}
|
|
438
|
-
</style><link rel="stylesheet" href="/static/styles-
|
|
447
|
+
</style><link rel="stylesheet" href="/static/styles-AJ6NQDUD.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="/static/styles-AJ6NQDUD.css"></noscript></head>
|
|
439
448
|
<body>
|
|
440
449
|
<app-root></app-root>
|
|
441
|
-
<script src="/static/main-
|
|
450
|
+
<script src="/static/main-WFYIUX2C.js" type="module"></script></body>
|
|
442
451
|
</html>
|