Commit Graph

17 Commits

Author SHA1 Message Date
Alyssa Travitz
8374172479 add warning for unsupported settings yaml parameters (#1051)
* adding warning and test

* be more precise about allowed fields handling

* using more explicit set notation

* add rever file
2024-12-13 12:49:09 -07:00
Richard Gowers
c96cb57163 Adds YAML input to CLI planning tools (#583)
* [skip ci]

draft of yaml format for CI

* adds yaml reader for cli options input

fixes #580

* change plan_rXfe_network_main functions to expect list of mappers

* move settings yaml parsing to be parameter

* add YAML_OPTIONS as parameter

* add YAML_OPTIONS to plan_rbfe_network

currently does nothing

* cli: add interpretation of settings yaml

* cli: enable settings yaml reading in plan_rbfe_network

* cli: some extra documentation on load_yaml

* cli: fix tests to account for normalisation

* cli: add test for custom rbfe yaml usage

* cli: update plan_rhfe to allow yaml options

* cli: use v1/2 compatible Pydantic

* cli: fixup pydantic v1/2 compat

* remove draft yaml idea

* cli:  centralise parsing of yaml options and defaults

* add pyyaml to deps

---------

Co-authored-by: Irfan Alibay <IAlibay@users.noreply.github.com>
2023-11-17 10:56:09 +00:00
richard gowers
92b3b7e898 finish migration from resources.path to resources.files 2023-09-06 13:09:38 +01:00
richard gowers
c7259f8858 yet more migration from resources.path to resources.files 2023-09-06 13:09:38 +01:00
David W.H. Swenson
2ede42a09a add test for multimol SDF 2023-05-02 19:29:54 -05:00
David W.H. Swenson
76ab2af747 finish molecules parameter 2023-05-02 19:03:35 -05:00
David W.H. Swenson
5fd25512b3 partial cleanup of moldir argument 2023-05-01 09:35:34 -05:00
riesben
0a211f7f07 updates on cli from @swensons feedback. 2023-04-04 08:58:22 +01:00
bries
67e43327ee adding cli test, only need to fix one last 2023-04-04 08:58:22 +01:00
richard
d67350ea37 openfecli fixups following refactor 2023-02-06 10:00:43 +00:00
richard
dc442d43d7 fixed test in cli
.smiles doesn't use explicit hydrogens
2022-10-19 11:22:22 +01:00
Richard Gowers
320efd3ddd Gufe transition (#113)
* use gufe.SmallMoleculeComponent in place of LigandMolecule

* thought this would fix the serialization test but it doesn't :(

* fix network serialization

Co-authored-by: David W.H. Swenson <david.swenson@omsf.io>
2022-03-31 21:10:36 +01:00
Richard Gowers
44d3c7bc53 Class renames (#77)
* API renames

To try thinking bigger and be more future proof, label everything currently designed for Ligands as for ligands. i.e.

- Molecule -> LigandMolecule
- AtomMapper -> LigandAtomMapper
- AtomMapping -> LigandAtomMapping
- Network -> LigandNetwork

* fixup

* revert change to Network name

* fixup fixtures to use AddHs

* update pep8 and mypy

* missed one

Co-authored-by: IAlibay <ialibay@mdanalysis.org>
Co-authored-by: David W.H. Swenson <david.swenson@omsf.io>
2022-03-23 10:41:20 +00:00
David W.H. Swenson
54868e705c update openfecli tests for explicit H template 2022-03-16 14:38:48 -05:00
David W.H. Swenson
c8a9cf1465 Combine visualization with CLI (#72)
Co-authored-by: richard <richard@nextmovesoftware.com>
2022-03-01 15:07:10 +00:00
David W.H. Swenson
6b30e7e475 Add support for CLI --mol to load SDF (#67) 2022-02-28 23:14:17 +00:00
David W.H. Swenson
41068e0185 CLI for AtomMapping (#57)
* Initial skeleton for the CLI

Currently requires the OPS CLI to be installed as well; next steps:

1. Add parameter core classes to infrastructure
2. Fully separate infrastructure into its own package

* switch to using plugcli

* tests for CLI

* helps if you add the tests...

* pep8 and deps cleanup

* add test_plugins

* Start of CLI atommapping report

* Add tests for parameters

* Almost-working atommapping command

* add hack to work-around lomap issue

* fix test

* pep8; docstrings; add header comments

* Add tests for commands/atommapping

* docstrings

* add init to command to stop circular import error

* remove init and it still works?

Co-authored-by: richard <richard@nextmovesoftware.com>
2022-02-23 16:43:01 +00:00