question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing References does nothing

See original GitHub issue

Greetings, thanks for a great piece of software.

When I attempt to change the reference used (e.g., in order to use hg38 rather than hg19) according to the syntax specified in the example: igv.Reference(fasta_url=...), nothing happens. I must use camelCase for my parameter names instead: igv.Reference(fastaURL=...).

I feel that is a bug because at the very least, there should be some sort of warning when my attempt to update the reference failed. Instead, it silently and dutifully serves me hg19 coordinates.

I think this is due to some issue with the to_camel_case method potentially not working.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jrobinsocommented, Jan 2, 2019

@a-slide I’ve started a major revision of this package. The new interface is much simpler, particularly if you are familiar with igv.js. Basically it mimics the igv.js API using python dictionaries where json-like config objects are specified in igv.js. The dictionaries are converted to JSON and passed to the front end as messages. I also added docstrings, but I’m not sure what you mean by “declaring the args”. Python is not my first or even second language, but have a look and feedback is welcome.

I have not pushed this to pypi yet.

1reaction
a-slidecommented, Nov 27, 2018

Hi @jrobinso, First, thanks a lot because I love the concept of having IGV running inside Jupyter. It is very handy to have a nice self-contained end to end analysis.

I would say that one of the main drawback is that the interface is not very pythonic, which makes everything hard to use in jupyter. Since the function/class args are not explicitly declared in the signatures, the only way to find them is to read the raw code. I understood that it gives more flexibility, but declaring the args + having a docstring for each functions would actually make the package usable without having to guess the arguments values. I have a few other suggestions but I suppose it would be best to open an issue for each !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replace references does not work - Tableau Community
I am trying to replace one measure with another in a dashboard (100 + tabs connecting to MS tabular. i.e. a cube data...
Read more >
changing reference after initialization in c++ - Stack Overflow
Sloppy speaking a reference is nothing but an alias for the original object. ... The reason we can reassign pointers is they have...
Read more >
Nuget package changes not reflected in project References list
That is, the new Nuget package does not show up in the list. Right click on “References” and choose to add a (non-Nuget)...
Read more >
How do I change "References" title in APA6? - TeX
If you use babel you have to do nothing for changing the title: %%% The filecontents* environment is only for making the example ......
Read more >
Add references in the Reference Manager - Visual Studio ...
You can explore the references in the Windows SDK or extension SDKs ... For information about how to change the target framework version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found