-
Notifications
You must be signed in to change notification settings - Fork 21
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
KG2 Merge Fail (Snakemake) #1022
Comments
With the following change to kg2_util (see the two print lines at the end of the code block), I reran merge_graphs.py:
Since the list is getting sorted (the error was
I think that I can fix this by removing all "None" values from the list. I'm going to tag @saramsey so that he is aware of this. |
Hi @ericawood how about
(see added |
Hi @saramsey, thank you for your quick response. Since you converted the list to a set, there is only 1 instance of None, so I used |
Good catch. Please go with whichever fix you feel is more readable. |
Some module somewhere is sticking a |
Looks like maybe the |
From the debugging info that @ericawood posted in this issue, it looks like the build failed on |
There were multiple that failed (I only posted the first one). |
Understood, thanks. I am just tracking down the one that you posted, for starters. |
Some more debugging info. On
|
OK, the problem appears to be in
|
I have a hunch that 2ee6899 will fix this issue. Going to test on |
Running this on
|
Hmm, still getting this issue at line 490 in
|
Hi @saramsey, when did it fail? (On what file) (It is working fine on kg2steve, are you sure the code is up to date?) |
Good questions! As to when the failure occurred:
so that's 0931 UTC today. As for the code being up-to-date:
|
Hi @saramsey, thank you for your quick response! Is it alright if I do some digging on kg2dev? |
Sure |
The |
OK, I think it may be time to try catching the |
@ericawood can you try that, running merge_graphs.py like this:
|
Hi @saramsey, that is a debugging statement I put in to figure out the problem. |
I did run
(no SemMed or UMLS/ontologies for times sake) and the output (before I stopped it), passed kg2-rtx-kg1.json:
|
OK, I guess we will have to try running the full |
Could it be an issue with the order of KG files? The order used in Snakemake is different than that used in build-kg2.sh. |
Yes, order matters here. Please test on |
I'm gonna wager this may be some kind of conflict between |
Should I take SMPDB out of the testing? It takes a few hours for merge to handle. |
This is a good idea, maybe to do on |
Based on the code branch at line 490, I think this has to involve something toxic in the |
FWIW, I have written a script to look for a |
OK, on
|
I think I may have found the bug in |
See 78dc069. That is definitely a bug! Not entirely sure it is the root cause of this problem, but I strongly suspect that it is . Testing on |
Ugh, see also 879f0e2. This module really needs a code review and a run through a linter. |
OK, the issue of
|
Expanded error information from the log file:
|
Just an FYI, since the merge on |
The text was updated successfully, but these errors were encountered: