From ee6cc2ebbe98ee1136112bb648fee11bc5603ddd Mon Sep 17 00:00:00 2001 From: Xen0Xys Date: Wed, 22 May 2024 12:46:45 +0200 Subject: [PATCH] :bug: Fix hips loading from url by changing AL version to 3.4.1-beta --- CHANGELOG.md | 1 + README.md | 2 +- js/aladin_lite.js | 2 +- js/models/message_handler.js | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eaaed028..b4ccdec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Change the jslink target trait from `target` to `shared_target` (#80) - Change the jslink fov trait from `fov` to `shared_fov` (#83) - Deprecate the `add_listener` method for a preferred use of `set_listener` method (#82) +- Upgrade Aladin Lite version to 3.4.1-beta (#84) ## [0.3.0] diff --git a/README.md b/README.md index 0dd1bfd4..1c4070db 100644 --- a/README.md +++ b/README.md @@ -58,4 +58,4 @@ Correspondence table between ipyaladin versions and Aladin-lite versions: | ipyaladin | Aladin-Lite | | ---------- | ----------- | | 0.3.0 | 3.3.3-dev | -| unreleased | 3.4.0-beta | +| unreleased | 3.4.1-beta | diff --git a/js/aladin_lite.js b/js/aladin_lite.js index 27c2fa99..46675390 100644 --- a/js/aladin_lite.js +++ b/js/aladin_lite.js @@ -1,3 +1,3 @@ -import A from "https://esm.sh/aladin-lite@3.4.0-beta"; +import A from "https://esm.sh/aladin-lite@3.4.1-beta"; export default A; diff --git a/js/models/message_handler.js b/js/models/message_handler.js index d8c773ce..92057077 100644 --- a/js/models/message_handler.js +++ b/js/models/message_handler.js @@ -17,7 +17,6 @@ export default class MessageHandler { handleAddHips(msg) { const options = convertOptionNamesToCamelCase(msg["options"] || {}); const hips = A.imageHiPS(msg["src"], options); - if (msg["src"].includes("http")) hips.url = msg["src"]; this.aladin.addNewImageLayer(hips); }