OpenFreeEnergy / OpenFreeEnergy/openfe

Make `_subsample_topology` in AFE and SepTop Protocols return the file path?

Open Beginner friendly
#1,942 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
332
Forks
56
Avg merge
3d 9h
Merged PRs (30d)
13

Description

That method gets the selection indices and writes a subsampled PDB file if there are > 0 indices. It might be good for it to return the file path of the subsampled PBD if it was written, avoiding further boilerplate code later on.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate _subsample_topology in the AFE and SepTop Protocols and inspect its callers to understand how the generated subsampled PDB path is currently handled. Confirm the behavior when selection indices are empty and non-empty, then update both protocol implementations consistently. Done means callers can use the returned path without boilerplate and existing tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.