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

added test case for initial cycles oom #977

Closed
wants to merge 205 commits into from
Closed

Conversation

uli-f
Copy link
Member

@uli-f uli-f commented Jun 8, 2023

test case for #976

@johnmay
Copy link
Member

johnmay commented Jun 8, 2023

Ah it's another bug when trying to actually generate them, I'll try and find time to take a look. Thanks.

@johnmay
Copy link
Member

johnmay commented Aug 9, 2023

Hi @uli-f,

Just letting you know this, and the RDF, and the SMIRKS bits are on my radar. Doing a 2.9 release but I will try and get round to getting these bits fixed/merged in soon. Sorry it's taken so long, just too much to do :-)

@uli-f
Copy link
Member Author

uli-f commented Aug 9, 2023

Hi @uli-f,

Just letting you know this, and the RDF, and the SMIRKS bits are on my radar. Doing a 2.9 release but I will try and get round to getting these bits fixed/merged in soon. Sorry it's taken so long, just too much to do :-)

Thanks @johnmay, that is good news! I very much appreciate all the work you put into CDK.

With the RDF bits I assume you are referring to #942 ? If so please let me know if there is anything I can do on my side to get this merged. It is a bit half-baked because I wanted to get some feedback before continuing...

@johnmay
Copy link
Member

johnmay commented Aug 10, 2023

With the RDF bits I assume you are referring to #942 ? If so please let me know if there is anything I can do on my side to get this merged. It is a bit half-baked because I wanted to get some feedback before continuing...

Yep, that's fine. I actually need this for a project at NextMove now so that should move forward. At ACS San Francisco next week so busy for next few weeks but after that should move forward relatively quickly.

@johnmay
Copy link
Member

johnmay commented Mar 9, 2024

Need to modify the test to check for the exception now.

@egonw
Copy link
Member

egonw commented Mar 9, 2024

Need to modify the test to check for the exception now.

yes, I just saw that:

[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   AromaticityTest.outOfMemoryExceptionInitialCycles:178 » Intractable Too many relevant cycles cycles! max=512000 was=16777240. Increase this limit with System property -Dcdk.maxRelevantCycles=<num>
[INFO] 
[ERROR] Tests run: 1005, Failures: 0, Errors: 1, Skipped: 0

@egonw
Copy link
Member

egonw commented Mar 9, 2024

@johnmay, are you fixing this? or shall I?

@johnmay
Copy link
Member

johnmay commented Mar 9, 2024

Well on this branch needs to be @uli-f - but we can send a PR to the PR if that makes sense.

Just needs an Assertions.assertThrows()

@egonw
Copy link
Member

egonw commented Mar 9, 2024

but we can send a PR to the PR if that makes sense.

Ah, we don't have that option enabled? Let me check ...

@egonw egonw requested a review from johnmay March 9, 2024 15:52
@egonw egonw assigned johnmay and unassigned egonw Mar 9, 2024
@egonw
Copy link
Member

egonw commented Mar 9, 2024

Ah, we don't have that option enabled? Let me check ...

@johnmay, yes, it was enabled. I have just made the extra patch.

@johnmay
Copy link
Member

johnmay commented Mar 9, 2024

Missing an import I think, how did you do the PR and have it appear automatically?

I needed to do that the Ertl Functional Group stuff

@johnmay
Copy link
Member

johnmay commented Mar 9, 2024

Oh you just push to their branch, odd.

…tional checks. The valence checking is a WIP but the basics are there.
…olecules - e.g. cyclo-phanes.

We know how many there are before generating them so we can et a reasonable limit which just fails if this
limit is reached. This limit can be configured by a system property.
@johnmay
Copy link
Member

johnmay commented Mar 9, 2024

Nope I don't understand,

 ! [remote rejected]       uli-f-oom_initial_cycles -> uli-f-oom_initial_cycles (permission denied)
error: failed to push some refs to 'github.com:uli-f/cdk.git'

@johnmay
Copy link
Member

johnmay commented Mar 10, 2024

Now I'm more confused how you did it @egonw. I followed this (https://tighten.com/insights/adding-commits-to-a-pull-request/) but had to rebase hence they are all in here now.

I will close and just do this seperately.

@johnmay johnmay closed this Mar 10, 2024
@egonw egonw reopened this Mar 10, 2024
@egonw egonw closed this Mar 10, 2024
@egonw
Copy link
Member

egonw commented Mar 10, 2024

Now I'm more confused how you did it @egonw.

@johnmay, this is what I did (actually not in the way I hoped, but not sure if that feature still exists: in the past you could propose edits to patches):

  1. the author of the PR has to have had enabled the option (checkbox in the "create PR" page). You then should see this (when the PR is still open; that's why I just had to reopen it again):

image

  1. view the full file via the three dots in the top right:

image

  1. check if the right branch version

  2. then use the web UI to "edit" the file and push. because of the option in step 1, maintainers (you, me) should be able to push

@johnmay
Copy link
Member

johnmay commented Mar 10, 2024

Ah OK, thanks. I did mange to push it as you saw but think I rebased wrongly. No worries.

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.

None yet

6 participants