Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a port command for getting information about the currently selected genome #1360

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

ubuntolog
Copy link
Contributor

The new "currentGenome" port command will return the path of your currently selected and loaded genome. This port command can be used as a fix (or a good workaround) for the issues we have previously created:

#1271
#1094

Other users may also find it helpful while using port commands from their applications. When switching between multiple genomes, one may need to know which genome is currently selected.

@jrobinso
Copy link
Contributor

Looks good, but I suggest the name be "currentGenomePath", to be clear its not returning the ID.

@ubuntolog
Copy link
Contributor Author

Looks good, but I suggest the name be "currentGenomePath", to be clear its not returning the ID.

yes, it sound better, I will adjust my code

@ubuntolog
Copy link
Contributor Author

I have adjusted the naming

@jrobinso jrobinso merged commit 5b8090a into igvteam:master Jul 19, 2023
1 check passed
@jrobinso
Copy link
Contributor

Ok, merged.

@ubuntolog
Copy link
Contributor Author

Thank you!

@ubuntolog ubuntolog deleted the current_genome branch July 19, 2023 18:43
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