gkutils 0.3.0__tar.gz → 0.3.2__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.
- {gkutils-0.3.0 → gkutils-0.3.2}/PKG-INFO +1 -1
- gkutils-0.3.2/gkutils/__version__.py +1 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/generalutils.py +5 -3
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils.egg-info/PKG-INFO +1 -1
- gkutils-0.3.0/gkutils/__version__.py +0 -1
- {gkutils-0.3.0 → gkutils-0.3.2}/LICENSE +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/README.md +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/__init__.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/__init__.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/bruteForceConeSearchATLAS.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/coneSearchCassandra.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/far.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/getCSVColumnSubset.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/getTestSherlockData.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/mputils.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/test.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils/commonutils/testReadGenericDataFile.py +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils.egg-info/SOURCES.txt +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils.egg-info/dependency_links.txt +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils.egg-info/entry_points.txt +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils.egg-info/requires.txt +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/gkutils.egg-info/top_level.txt +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/setup.cfg +0 -0
- {gkutils-0.3.0 → gkutils-0.3.2}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.3.2'
|
|
@@ -989,7 +989,7 @@ def coneSearch(ra, dec, radius, tableName, htmLevel = 16, queryType = QUICK, con
|
|
|
989
989
|
return message, results
|
|
990
990
|
|
|
991
991
|
# TODO We have the opportunity to inject another where clause component.
|
|
992
|
-
def coneSearchHTMWithExtraWhereClause(ra, dec, radius, tableName, htmLevel = 16, queryType = QUICK, conn = None, django = False, prefix = "htm", suffix = "ID", extraWhereClause =
|
|
992
|
+
def coneSearchHTMWithExtraWhereClause(ra, dec, radius, tableName, htmLevel = 16, queryType = QUICK, conn = None, django = False, prefix = "htm", suffix = "ID", extraWhereClause = ''):
|
|
993
993
|
"""HTM only cone search. Assumes a column in the catalogue which by default is called htm<n>ID where <n> is the HTM level.
|
|
994
994
|
|
|
995
995
|
Args:
|
|
@@ -2810,14 +2810,16 @@ COORDS_DEC_REGEX = ""
|
|
|
2810
2810
|
#COORDS_SEX_REGEX = "^([0-2][0-9])[^0-9]{0,1}([0-5][0-9])[^0-9]{0,1}([0-5][0-9])(\.[0-9]+){0,1}[^0-9+\-]{0,5}([+-]){0,1}([0-9][0-9])[^0-9]{0,1}([0-5][0-9])[^0-9]{0,1}([0-5][0-9])(\.[0-9]+){0,1}[^0-9 ]{0,1}( +([0-9][0-9]{0,1})){0,1}"
|
|
2811
2811
|
|
|
2812
2812
|
# 2019-04-17 KWS Made the sexagesimal regex a bit more forgiving.
|
|
2813
|
+
# 2024-04-10 KWS Allow up to 3 digits + fraction for the search radius.
|
|
2813
2814
|
# h h m m s s . f (+-) d d m m s s . f (radius)
|
|
2814
|
-
COORDS_SEX_REGEX = "^([0-2]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])(\.[0-9]+){0,1}[^0-9+\-\.]{0,}([+-]){0,1}([0-9]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])(\.[0-9]+){0,1}[^0-9+\-\.]{0,}(([0-9][0-9]{0,1})){0,1}$"
|
|
2815
|
+
COORDS_SEX_REGEX = "^([0-2]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])(\.[0-9]+){0,1}[^0-9+\-\.]{0,}([+-]){0,1}([0-9]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])[^0-9+\-\.]{0,}([0-5]{0,1}[0-9])(\.[0-9]+){0,1}[^0-9+\-\.]{0,}(([0-9][0-9]{0,2}(\.[0-9]+){0,1})){0,1}$"
|
|
2815
2816
|
COORDS_SEX_REGEX_COMPILED = re.compile(COORDS_SEX_REGEX)
|
|
2816
2817
|
|
|
2817
2818
|
#COORDS_DEC_REGEX = "^([0-9]+(\.[0-9]+){0,1})[^0-9+\-]{0,5}([+-]{0,1}[0-9]+(\.[0-9]+){0,1})[^0-9 ]{0,1}( +([0-9][0-9]{0,1})){0,1}"
|
|
2818
2819
|
# 2019-04-17 KWS Made the decimal regex a bit more forgiving.
|
|
2820
|
+
# 2024-04-10 KWS Allow up to 3 digits + fraction for the search radius.
|
|
2819
2821
|
# d.f (+-) d.f (radius)
|
|
2820
|
-
COORDS_DEC_REGEX = "^([0-9]+(\.[0-9]+){0,1})[^0-9+\-]{0,}([+-]{0,1}[0-9]+(\.[0-9]+){0,1})[^0-9]{0,}(([0-9][0-9]{0,1})){0,1}$"
|
|
2822
|
+
COORDS_DEC_REGEX = "^([0-9]+(\.[0-9]+){0,1})[^0-9+\-]{0,}([+-]{0,1}[0-9]+(\.[0-9]+){0,1})[^0-9]{0,}(([0-9][0-9]{0,2}(\.[0-9]+){0,1})){0,1}$"
|
|
2821
2823
|
COORDS_DEC_REGEX_COMPILED = re.compile(COORDS_DEC_REGEX)
|
|
2822
2824
|
|
|
2823
2825
|
# 2019-04-17 KWS Made the name search more forgiving and extended it to ZTF.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '0.3.0'
|
|
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
|
|
File without changes
|