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

Add exon track to lollipop #103

Merged
merged 1 commit into from
Sep 30, 2021
Merged

Add exon track to lollipop #103

merged 1 commit into from
Sep 30, 2021

Conversation

leexgh
Copy link
Member

@leexgh leexgh commented Sep 28, 2021

@leexgh leexgh force-pushed the exon-track branch 2 times, most recently from f720b50 to a2e84f2 Compare September 28, 2021 15:27
@leexgh leexgh requested a review from onursumer September 28, 2021 15:28
@@ -4,6 +4,7 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-17134933-4"></script>
<script src="https://kit.fontawesome.com/6be4547409.js" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
Copy link
Member

Choose a reason for hiding this comment

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

why do we need this? would it work if we add jQuery as a package.json dependency instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

@onursumer Adding jQuery to package.json is not working, I still got "$ is not defined" error

Copy link
Member

Choose a reason for hiding this comment

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

Are you getting this error from react-mutation-mapper? Can be related to one of the latests updates inside the package.

Copy link
Member

Choose a reason for hiding this comment

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

@leexgh I just did a quick debug, it is a problem with react-mutation-mapper package. Seems like the problem was introduced by this file https://github.com/cBioPortal/cbioportal-frontend/blob/3675a07a438ad31562b5945e22f71d1be8e7de55/packages/react-mutation-mapper/src/util/LabelUtils.tsx#L11. We should fix the issue there instead of adding a global import in genome-nexus.

Copy link
Member

Choose a reason for hiding this comment

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

@leexgh I haven't tested it but this PR should fix the issue: cBioPortal/cbioportal-frontend#3985

Copy link
Member

Choose a reason for hiding this comment

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

Tested locally, it seems working.

@leexgh leexgh requested a review from onursumer September 29, 2021 17:13
Copy link
Member

@onursumer onursumer left a comment

Choose a reason for hiding this comment

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

Thanks for looking into this! Let's fix the undefined $ reference error in react-mutation-mapper package first before merging this PR.

@@ -40,7 +40,7 @@
"react": "16.14.0",
"react-bootstrap": "^1.0.0-beta.6",
"react-dom": "^16.14.0",
"react-mutation-mapper": "^0.8.12",
"react-mutation-mapper": "^0.8.15",
Copy link
Member

Choose a reason for hiding this comment

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

also update cbioportal-frontend-commons and cbioportal-utils to the latest versions for consistency?

Copy link
Member Author

@leexgh leexgh Sep 29, 2021

Choose a reason for hiding this comment

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

good point. cbiopoetal-utils is already the latest

@leexgh leexgh merged commit fa9db25 into genome-nexus:master Sep 30, 2021
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.

Add exon track to genome nexus
2 participants