Skip to content

Typing and docstring fixes for graphgen - #151

Merged
IAlibay merged 12 commits into
mainfrom
graphgen_docstrings
Jun 12, 2026
Merged

IAlibay merged 12 commits into
mainfrom
graphgen_docstrings

Conversation

@IAlibay

@IAlibay IAlibay commented Jun 10, 2026 •

Copy link
Copy Markdown
Member

Note: some of these edits were made with the help of Claude Code [Sonnet 4.6].

@IAlibay

IAlibay commented Jun 10, 2026

Copy link
Copy Markdown
Member Author

pre-commit.ci autofix

@IAlibay IAlibay closed this Jun 11, 2026
@IAlibay IAlibay reopened this Jun 11, 2026
@IAlibay

IAlibay commented Jun 11, 2026

Copy link
Copy Markdown
Member Author

pre-commit.ci autofix

@IAlibay IAlibay changed the title [WIP] Typing and docstring fixes for graphgen Typing and docstring fixes for graphgen Jun 11, 2026
Comment thread src/lomap/graphgen.py Resolved
Comment thread src/lomap/graphgen.py Resolved
@IAlibay
IAlibay requested a review from jthorton June 11, 2026 14:38
Comment thread src/lomap/graphgen.py
If ``True``, use the faster radial-only algorithm (requires ``radial=True``).
hub : str, optional
the **name** of the ligand to use as the center of the hub
The **name** of the molecule to use as the center of the hub.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need an attributes section? Not everything should be exposed there, but the result should be, which seems to be resultGraph.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

or make it a property with its own docstring?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done

Comment thread src/lomap/graphgen.py Resolved
Comment thread src/lomap/graphgen.py Resolved
Comment thread src/lomap/graphgen.py Resolved
Comment thread src/lomap/graphgen.py Resolved
Comment thread src/lomap/graphgen.py Resolved
Comment thread src/lomap/graphgen.py Resolved

@jthorton jthorton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A couple of small things to clean up, looking much better though!

IAlibay and others added 2 commits June 11, 2026 17:14
Co-authored-by: Josh Horton <joshua.horton@openforcefield.org>
@IAlibay
IAlibay requested a review from jthorton June 11, 2026 16:42

@jthorton jthorton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Much better thanks @IAlibay !

@IAlibay
IAlibay merged commit 28dc483 into main Jun 12, 2026
11 checks passed
@IAlibay
IAlibay deleted the graphgen_docstrings branch June 12, 2026 10:52
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