Skip to content

IGV access after authentication requirement for master#752

Merged
ahernank merged 8 commits intomasterfrom
GH737-IGV-access
Apr 16, 2025
Merged

IGV access after authentication requirement for master#752
ahernank merged 8 commits intomasterfrom
GH737-IGV-access

Conversation

@jonbrenas
Copy link
Copy Markdown
Collaborator

Addresses #737.

Most of the changes were actually to gcs. I added a new parameter (public_url) to the AnophelesBase class which is currently initialised with a hard-coded value. It should be set from the config file but I didn't want to modify the contig without some degree of approval first.

The notebook seemed to show that it works for both agam and afun but the tests will show if it is really the case, I guess.

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Copy Markdown
Collaborator

@ahernank ahernank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jonbrenas! Wonder if this would be a bit clearer if we define the public URL in the same way as the other GCS URLs, e.g.GCS_DEFAULT_URL = "gs://vo_agam_release_master_us_central1/ in ag3.py (& equivalent in af1), i.e. globally defined & linking directly to the gsutil file path rather than the public URL (unless this is causing issues with IGV?)

@jonbrenas
Copy link
Copy Markdown
Collaborator Author

Thanks @ahernank. I updated the URL and created a variable containing it. My first attempts at using a GCS URL had failed but it looks like it was due to a typo.

I don't know if we want to do something similar to what was done for url (i.e., it can be inferred from the region ... but with only "us_central1" as an option, I don't think it is worth the faff).

There seems to be an unrelated issue with linting, though.

@ahernank ahernank self-requested a review April 16, 2025 10:29
@ahernank
Copy link
Copy Markdown
Collaborator

Approving as just a small change moving the assignment is required.

@ahernank
Copy link
Copy Markdown
Collaborator

Actually, decided to keep as-is with the caveat this could create confusion as the public ref only is relevant for IGV.

@ahernank ahernank merged commit c7e773e into master Apr 16, 2025
10 checks passed
@ahernank ahernank deleted the GH737-IGV-access branch April 16, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants