Skip to content

Conversation

@PeteLipp
Copy link
Contributor

@PeteLipp PeteLipp commented Nov 10, 2025

What does this PR do?

This PR adds several notebook tutorials for different topics and functionality covered in the code base.

Before submitting

  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you test your PR locally with pytest command?
  • Did you run pre-commit hooks with pre-commit run -a command?

Copy link
Contributor

@ToKa96 ToKa96 left a comment

Choose a reason for hiding this comment

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

Looks great! Runs through with a fresh environment. A few warnings/errors appear during visualization on my machine but they do not seem to imper the visualization itself

Comment on lines +77 to +78
" # we need one simple override here but otherwise we just use the default setting (see tutorial 4 for more information)\n",
" \"data.dataset_name=QM9_perturbed_fock\", # this will no longer be necessary once the \"fixed\" is removed from the dataset_name\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we have already removed the fixed and do not need it here

Comment on lines +100 to +101
" # we need one simple override here but otherwise we just use the default setting (see tutorial 4 for more information)\n",
" \"data.dataset_name=QM9_perturbed_fock\", # this will no longer be necessary once the \"fixed\" is removed from the dataset_name\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

see the other comment

Comment on lines +78 to +80
" overrides=[\n",
" # we need one simple override here but otherwise we just use the default setting (see tutorial 4 for more information)\n",
" \"data.dataset_name=QM9_perturbed_fock\", # this will no longer be necessary once the \"fixed\" is removed from the dataset_name\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

and here again

Comment on lines +103 to +104
" # we need one simple override here but otherwise we just use the default setting (see tutorial 4 for more information)\n",
" \"data.dataset_name=QM9_perturbed_fock\", # this will no longer be necessary once the \"fixed\" is removed from the dataset_name\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

And here again

" config_name=\"train.yaml\",\n",
" overrides=[\n",
" \"data/transforms=local_frames_global_natrep_add_lframes\",\n",
" \"data.dataset_name=QM9_perturbed_fock\", # this will no longer be necessary once the \"fixed\" is removed from the dataset_name\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

and here one last time

"outputs": [],
"source": [
"# change max number of interations:\n",
"density_optimizer.max_cycle = 10 # You migth want to change the number of iterations to speed things up, but this migth not guarantee convergence\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

I would a) add a warning that with this number it will most likely not be converged, and b) add an estimate how many in our experience usually are sufficient. (Will always the same molecule be loaded here? If so I guess a good estimate would be around 500 cycles

Comment on lines +113 to +114
"# Note though that the displayed geometry is inferred from the SMILES string, so it does not exactly correspond to the geometry in the sample object.\n",
"# if you click on the link you will see 3D structure of the molecule in the browser:\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

If with the shipped state of the notebook the same molecule will always be loaded than the smiles and the xyz geometry will always differ in our example here, in this case I would actually tell the people to compare the two geometry and spot the difference to point that out

@ToKa96 ToKa96 assigned PeteLipp and unassigned ToKa96 Dec 3, 2025
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.

2 participants