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

clarify that API example in quickstart expects jupyter notebook and provide command line instructions #348

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ See the [results chapter](bespoke_results_chapter) for more details on retrievin
For users who prefer Python or who are looking for more control over how the fit will be performed, BespokeFit exposes a
full Python API.

:::{note}
These quickstart instructions are for running in a jupyter notebook. If you'd instead like to run this as standard python
script from the command line, put all this code inside a `def main():` block, and conclude the script with
`if __name__ == "__main__": main()`.
:::


At the heart of the fitting pipeline is the [`BespokeWorkflowFactory`]. The [`BespokeWorkflowFactory`] encodes all of
the settings that will feed into and control the bespoke fitting pipeline for *any* input molecule. The workflow
factory transforms a particular molecule into a [workflow](workflow_chapter), which fully describes how bespoke
Expand Down