Skip to content

Commit 4fbe1a2

Browse files
v6: various bugs (#707)
* Update requirements * Adapt simple_norm for astropy 6 * Use correct URL for redirection * Bump to 6.1
1 parent 819f42a commit 4fbe1a2

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

apps/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
__version__ = "6.0"
15+
__version__ = "6.1"

apps/gw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
args = extract_configuration("config.yml")
48-
APIURL = args["APIURL"]
48+
SITEURL = args["SITEURL"]
4949

5050

5151
def extract_moc(fn, credible_level):
@@ -372,7 +372,7 @@ def display_skymap_gw_callback(
372372
link = '<a target="_blank" href="{}/{}">{}</a>'
373373
titles = [
374374
link.format(
375-
APIURL, i.split("]")[0].split("[")[1], i.split("]")[0].split("[")[1]
375+
SITEURL, i.split("]")[0].split("[")[1], i.split("]")[0].split("[")[1]
376376
)
377377
for i in pdf["i:objectId"].to_numpy()
378378
]

apps/summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def store_release_photometry(n_clicks, object_data):
634634
],
635635
)
636636
def make_qrcode(path):
637-
qrdata = f"https://api.fink-portal.org/{path[1:]}"
637+
qrdata = f"https://fink-portal.org/{path[1:]}"
638638
qrimg = generate_qr(qrdata)
639639

640640
return html.Img(src="data:image/png;base64, " + pil_to_b64(qrimg))

apps/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ def _data_stretch(
225225
stretch=stretch,
226226
power=exponent,
227227
asinh_a=vmid,
228-
vmin=vmin,
229-
vmax=vmax,
228+
min_cut=vmin,
229+
max_cut=vmax,
230230
clip=False,
231231
)
232232

requirements.txt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ alabaster==1.0.0
88
alive-progress==3.2.0
99
annotated-types==0.7.0
1010
ansi2html==1.9.2
11-
astropy==7.0.0
11+
astropy==6.1.7
1212
astropy-iers-data==0.2024.12.23.0.33.24
1313
astropy-sphinx-theme==1.1
1414
astropy_healpix==1.0.3
@@ -29,7 +29,6 @@ charset-normalizer==3.4.0
2929
click==8.1.8
3030
cma==3.2.2
3131
colorama==0.4.6
32-
confluent-kafka==2.7.0
3332
contourpy==1.3.1
3433
coverage==7.6.9
3534
coveralls==4.0.1
@@ -63,6 +62,7 @@ frozenlist==1.5.0
6362
future==1.0.0
6463
gatspy==0.3
6564
grapheme==0.6.0
65+
gunicorn==23.0.0
6666
healpy==1.18.0
6767
html5lib==1.1
6868
httpretty==1.1.4
@@ -124,9 +124,6 @@ pyerfa==2.0.1.5
124124
Pygments==2.18.0
125125
pyparsing==3.2.0
126126
pypng==0.20220715.0
127-
PyQt6==6.8.0
128-
PyQt6-Qt6==6.8.1
129-
PyQt6_sip==13.9.1
130127
pyspark==3.4.1
131128
pytest==8.3.4
132129
pytest-doctestplus==1.3.0

0 commit comments

Comments
 (0)