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

Unexpected behavior on loading sample data #260

Closed
hasanbalci opened this issue Jun 22, 2021 · 10 comments
Closed

Unexpected behavior on loading sample data #260

hasanbalci opened this issue Jun 22, 2021 · 10 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@hasanbalci
Copy link
Contributor

  • In collaborative mode, if "Load Sample Data" is clicked, seven unit of data are shown in Data Set(s):

image

  • Another unexpected behavior I observed (independent from mode) is that after loading some alteration data to a gene from cBioPortal, if "Load Sample Data" is clicked, more than six units of data are shown both in Data Set(s) and gene:

image
image

@ugurdogrusoz ugurdogrusoz added this to the 2.2 milestone Jun 22, 2021
@ugurdogrusoz ugurdogrusoz added the bug Something isn't working label Jun 22, 2021
@YusufZiyaOzgul
Copy link
Collaborator

YusufZiyaOzgul commented Jun 22, 2021

@hasanbalci
There is another problem.
For the collaborative mode,
the screen of client 1 and client 2 are same at the beginning
2021-06-22 (3)

After client 1 selected the ovarian cancer( right one) on the screen, both of the ovarian cancers enabled.

2021-06-22 (4)

However, client 2 see that the ovarian cancer ( left one ) selected.
2021-06-22 (6)

@YusufZiyaOzgul
Copy link
Collaborator

YusufZiyaOzgul commented Jun 22, 2021

Another problem may be that described below.

At the beginning five units are selected.
2021-06-22 (7)

When I clicked the breast cancer ( bottom ), other breast cancer is also selected( triggered).

Since it activated 2 breast cancer with one click, the number of data samples increased from 5 to 7. So, there is a issue, more than 6 data unit are shown.

2021-06-22 (8)

When I tried to close the breast cancer( whose activation is triggered by other in the above example), it does not close.

2021-06-22 (9)

@ugurdogrusoz
Copy link
Contributor

@msalihaltun Should we force data set names to be unique to avoid some of these situations?

@msalihaltun
Copy link
Contributor

I thought we actually checked for already existing data while loading, and we do, but we do that only for cBioPortal data. So multiple sample experiment data can actually be loaded. We use a different data flow to load experiment data compared to cBioPortal data. I'm gonna try to figure out a way to make sure:

  1. We do not load multiple sample experiment data.
  2. We do not exceed the limit of 6 data sets while loading sample data or data from file.

Ideally there would be a common path in code where data would flow through for cases like this.

msalihaltun added a commit that referenced this issue Jun 24, 2021
@msalihaltun
Copy link
Contributor

I disabled adding multiple sample data. Also the collaborative mode should properly respect the limit of 6 data sets shown.

@ugurdogrusoz
Copy link
Contributor

Works well in general but I still see some edge case problems:

  • Open a map
  • Load a data set
  • Load sample data
  • Remove all data
  • Load a data set
  • Load sample data. We see 4 data sets in the dialog but the map renders more than 4 (a Resize to content will not help):
    Screenshot 2021-06-24 115638

@ugurdogrusoz
Copy link
Contributor

Looks good to me. @hasanbalci @YusufZiyaOzgul please test and remove your assignment if OK.

@hasanbalci hasanbalci removed their assignment Jun 24, 2021
@YusufZiyaOzgul
Copy link
Collaborator

YusufZiyaOzgul commented Jun 24, 2021

There may be a another problem.

At the beginning I imported LUSC-2012-Notch-signaling-pathway and I fetched Acute Myeloid Leukemia (OHSU, Nature 2018) and Thymoma (TCGA, PanCancer Atlas).
2021-06-24 (5)
2021-06-24 (6)

Then I imported LUAD-2014-Oxidative-stress-response-pathway using TCGA.
However, datas from the previous pathway still shown(activated) in data set but there is no information about them on the new pathway.

2021-06-24 (8)

I tried to deactivate and reactivate them on data set but still none of them shown on pathway.

Then, I fetched Cholangiocarcinoma (TCGA, PanCancer Atlas).

2021-06-24 (9)

After that, data sets activated from previous pathway are shown on this pathway but they are shown gray .

2021-06-24 (11)
2021-06-24 (12)

Finally, I removed all data sets and I re-fetched them and I got different result.
2021-06-24 (13)

I could not find the case which exceeds maximum number of activated data sets any time = 6 and all of the data sets have unique names.

@msalihaltun
Copy link
Contributor

I believe this is intended, a known issue and related to #114.

@YusufZiyaOzgul YusufZiyaOzgul removed their assignment Jun 24, 2021
@ugurdogrusoz
Copy link
Contributor

Yes, this is a known issue. We only keep the data of a gene if that gene is currently in the map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants