OpenFreeEnergy / OpenFreeEnergy/openfe

CLI: Allow globs for paths

Open
#486 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

the -M (and similar) options should allow multiple files to be passed using *, so -M ligand_*.sdf to grab all ligand files matching that pattern.

Currently gives:
Error: Got unexpected extra arguments (10.sdf 11.sdf 12.sdf 13.sdf 14.sdf 15.sdf 16.sdf 17.sdf 18.sdf 19.sdf)

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

No source file or test is named. Reproduce the -M ligand_*.sdf command and trace the CLI entry point that parses -M and similar options. Done means matching paths are accepted as multiple files without the unexpected extra-arguments error, with coverage for the glob case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.