Skip to content

Commit

Permalink
🐛 Fix hips loading from url by changing AL version to 3.4.1-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed May 22, 2024
1 parent 091a596 commit ee6cc2e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
2 changes: 1 addition & 1 deletion js/aladin_lite.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import A from "https://esm.sh/[email protected].0-beta";
import A from "https://esm.sh/[email protected].1-beta";

export default A;
1 change: 0 additions & 1 deletion js/models/message_handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit ee6cc2e

Please sign in to comment.