lsst-felis 27.2024.3800__tar.gz → 27.2024.4000__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.
Potentially problematic release.
This version of lsst-felis might be problematic. Click here for more details.
- {lsst_felis-27.2024.3800/python/lsst_felis.egg-info → lsst_felis-27.2024.4000}/PKG-INFO +1 -1
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/tap.py +7 -4
- lsst_felis-27.2024.4000/python/felis/version.py +2 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000/python/lsst_felis.egg-info}/PKG-INFO +1 -1
- lsst_felis-27.2024.3800/python/felis/version.py +0 -2
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/COPYRIGHT +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/LICENSE +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/README.rst +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/pyproject.toml +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/__init__.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/cli.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/datamodel.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/db/__init__.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/db/dialects.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/db/sqltypes.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/db/utils.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/db/variants.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/metadata.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/py.typed +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/tests/__init__.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/tests/postgresql.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/felis/types.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/SOURCES.txt +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/dependency_links.txt +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/entry_points.txt +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/requires.txt +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/top_level.txt +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/zip-safe +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/setup.cfg +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/tests/test_cli.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/tests/test_datamodel.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/tests/test_metadata.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/tests/test_postgresql.py +0 -0
- {lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/tests/test_tap.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lsst-felis
|
|
3
|
-
Version: 27.2024.
|
|
3
|
+
Version: 27.2024.4000
|
|
4
4
|
Summary: A vocabulary for describing catalogs and acting on those descriptions
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: GNU General Public License v3 or later (GPLv3+)
|
|
@@ -407,7 +407,9 @@ class TapLoadingVisitor:
|
|
|
407
407
|
felis_type = FelisType.felis_type(felis_datatype.value)
|
|
408
408
|
column.datatype = column_obj.votable_datatype or felis_type.votable_name
|
|
409
409
|
|
|
410
|
-
column.arraysize = column_obj.votable_arraysize or
|
|
410
|
+
column.arraysize = column_obj.votable_arraysize or (
|
|
411
|
+
column_obj.length if (column_obj.length is not None and column_obj.length > 1) else None
|
|
412
|
+
)
|
|
411
413
|
if (felis_type.is_timestamp or column_obj.datatype == "text") and column.arraysize is None:
|
|
412
414
|
column.arraysize = "*"
|
|
413
415
|
|
|
@@ -419,7 +421,7 @@ class TapLoadingVisitor:
|
|
|
419
421
|
return False
|
|
420
422
|
|
|
421
423
|
# Handle the deprecated size attribute
|
|
422
|
-
arraysize =
|
|
424
|
+
arraysize = column.arraysize
|
|
423
425
|
if arraysize is not None and arraysize != "":
|
|
424
426
|
if isinstance(arraysize, int):
|
|
425
427
|
column.size = arraysize
|
|
@@ -427,8 +429,9 @@ class TapLoadingVisitor:
|
|
|
427
429
|
column.size = int(arraysize)
|
|
428
430
|
elif bool(re.match(r"^[0-9]+\*$", arraysize)):
|
|
429
431
|
column.size = int(arraysize.replace("*", ""))
|
|
430
|
-
|
|
431
|
-
|
|
432
|
+
|
|
433
|
+
if column.size is not None:
|
|
434
|
+
logger.debug(f"Set size to {column.size} for {column.column_name} with arraysize {arraysize}")
|
|
432
435
|
|
|
433
436
|
column.xtype = column_obj.votable_xtype
|
|
434
437
|
column.description = column_obj.description
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lsst-felis
|
|
3
|
-
Version: 27.2024.
|
|
3
|
+
Version: 27.2024.4000
|
|
4
4
|
Summary: A vocabulary for describing catalogs and acting on those descriptions
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: GNU General Public License v3 or later (GPLv3+)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{lsst_felis-27.2024.3800 → lsst_felis-27.2024.4000}/python/lsst_felis.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|