-
Notifications
You must be signed in to change notification settings - Fork 110
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
AssertionError #43
Comments
I'm having the exact same issue - any idea why this is? |
@wengong-jin Can you please suggest a solution for this ? Thanks |
Anything that you could suggest - still hung up on it? |
+1 |
Can you post a picture of your molecule / encoded graph? In my experience you get n-m > 1 when there's atoms that aren't connected to the rest of the molecule. This could be because the cluster generation process in find_clusters() wasn't built for a particular combination of rings / bonds |
Hi, reopening this as I am currently experiencing the same problem. Has anybody found a fix yet? |
Hi,
check out this code and correct your get_vocal.py. let's see if it works.
this is what i adjusted.
[image: image.png]
…On Wed, Sep 27, 2023 at 9:32 PM JonathanBroadbent ***@***.***> wrote:
Hi, reopening this as I am currently experiencing the same problem.
It says the issue occurs in tree_decomp line 82
—
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
Adeshina
|
HI Adeshina,
Thanks for the response, the image you attached only shows alt text. Can you resend it to me?
Jonathan
From: Adeshina John Orubuloye ***@***.***>
Date: Wednesday, September 27, 2023 at 9:56 PM
To: wengong-jin/hgraph2graph ***@***.***>
Cc: Broadbent, Jonathan /CA ***@***.***>, Comment ***@***.***>
Subject: Re: [wengong-jin/hgraph2graph] AssertionError (Issue #43)
Hi,
check out this code and correct your get_vocal.py. let's see if it works.
this is what i adjusted.
[image: image.png]
…On Wed, Sep 27, 2023 at 9:32 PM JonathanBroadbent ***@***.***> wrote:
Hi, reopening this as I am currently experiencing the same problem.
It says the issue occurs in tree_decomp line 82
—
Reply to this email directly, view it on GitHub
<#43 (comment)<https://github.com/wengong-jin/hgraph2graph/issues/43#issuecomment-1737964626>>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ<https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ>>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
Adeshina
—
Reply to this email directly, view it on GitHub<#43 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BAGO4OZUGGJCB4MEE3VS6N3X4TKMXANCNFSM53ZE4TNQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Hi,
sorry for that. hope this works this time.
On Thu, Sep 28, 2023 at 7:12 PM JonathanBroadbent ***@***.***>
wrote:
… HI Adeshina,
Thanks for the response, the image you attached only shows alt text. Can
you resend it to me?
Jonathan
From: Adeshina John Orubuloye ***@***.***>
Date: Wednesday, September 27, 2023 at 9:56 PM
To: wengong-jin/hgraph2graph ***@***.***>
Cc: Broadbent, Jonathan /CA ***@***.***>, Comment ***@***.***>
Subject: Re: [wengong-jin/hgraph2graph] AssertionError (Issue #43)
Hi,
check out this code and correct your get_vocal.py. let's see if it works.
this is what i adjusted.
[image: image.png]
On Wed, Sep 27, 2023 at 9:32 PM JonathanBroadbent ***@***.***>
wrote:
> Hi, reopening this as I am currently experiencing the same problem.
> It says the issue occurs in tree_decomp line 82
>
> —
> Reply to this email directly, view it on GitHub
> <
#43 (comment)
<
#43 (comment)>>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ
<
https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ>>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Regards,
Adeshina
—
Reply to this email directly, view it on GitHub<
#43 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/BAGO4OZUGGJCB4MEE3VS6N3X4TKMXANCNFSM53ZE4TNQ>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVBVXE7VJCH4TH4QNAHXB6DX4WVZXANCNFSM53ZE4TNQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
Adeshina
|
Hi Adeshina,
Sorry, I still do not see any image. Perhaps you could upload it by replying directly on github? Or email me directly? ***@***.***)
Jonathan
From: Adeshina John Orubuloye ***@***.***>
Date: Friday, September 29, 2023 at 12:37 AM
To: wengong-jin/hgraph2graph ***@***.***>
Cc: Broadbent, Jonathan /CA ***@***.***>, Comment ***@***.***>
Subject: Re: [wengong-jin/hgraph2graph] AssertionError (Issue #43)
Hi,
sorry for that. hope this works this time.
On Thu, Sep 28, 2023 at 7:12 PM JonathanBroadbent ***@***.***>
wrote:
… HI Adeshina,
Thanks for the response, the image you attached only shows alt text. Can
you resend it to me?
Jonathan
From: Adeshina John Orubuloye ***@***.***>
Date: Wednesday, September 27, 2023 at 9:56 PM
To: wengong-jin/hgraph2graph ***@***.***>
Cc: Broadbent, Jonathan /CA ***@***.***>, Comment ***@***.***>
Subject: Re: [wengong-jin/hgraph2graph] AssertionError (Issue #43)
Hi,
check out this code and correct your get_vocal.py. let's see if it works.
this is what i adjusted.
[image: image.png]
On Wed, Sep 27, 2023 at 9:32 PM JonathanBroadbent ***@***.***>
wrote:
> Hi, reopening this as I am currently experiencing the same problem.
> It says the issue occurs in tree_decomp line 82
>
> —
> Reply to this email directly, view it on GitHub
> <
#43 (comment)<https://github.com/wengong-jin/hgraph2graph/issues/43#issuecomment-1737964626>
<
#43 (comment)<https://github.com/wengong-jin/hgraph2graph/issues/43#issuecomment-1737964626>>>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ<https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ>
<
https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ<https://github.com/notifications/unsubscribe-auth/AVBVXE34PIUE4MT7NVBFVRLX4R5OTANCNFSM53ZE4TNQ>>>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Regards,
Adeshina
—
Reply to this email directly, view it on GitHub<
#43 (comment)<https://github.com/wengong-jin/hgraph2graph/issues/43#issuecomment-1738330411>>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/BAGO4OZUGGJCB4MEE3VS6N3X4TKMXANCNFSM53ZE4TNQ<https://github.com/notifications/unsubscribe-auth/BAGO4OZUGGJCB4MEE3VS6N3X4TKMXANCNFSM53ZE4TNQ>>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#43 (comment)<https://github.com/wengong-jin/hgraph2graph/issues/43#issuecomment-1739718579>>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVBVXE7VJCH4TH4QNAHXB6DX4WVZXANCNFSM53ZE4TNQ<https://github.com/notifications/unsubscribe-auth/AVBVXE7VJCH4TH4QNAHXB6DX4WVZXANCNFSM53ZE4TNQ>>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
Adeshina
—
Reply to this email directly, view it on GitHub<#43 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BAGO4O462PX5P5JZVCVEDATX4ZGBTANCNFSM53ZE4TNQ>.
You are receiving this because you commented.Message ID: ***@***.***>
|
import sys def process(data): if name == "main":
|
Interestingly, I removed all contents from line 34 downwards (I don't know why that should solve the problem for me) and it ran well. sorry you couldn't get the img. I was responding within my mail. let's see if it works. btw, chatgpt was really helpful with the error clearings. |
Hi gurus,
pls, I need your help. I am trying to run the get-vocab.py on my small dataset around 100. but keep getting this error as shown below:
Is there a way to go around this. the reference for the error is to the mol_graph.py line82:
"assert n - m <= 1 #must be connected"
The text was updated successfully, but these errors were encountered: