Skip to main content

A SEAMM plug-in for defining command-line parameters for a flowchart.

Project description

Control Parameters Step

GitHub pull requests Build Status Code Coverage Code Quality Documentation Status Updates for Dependencies PyPi VERSION

Description

A SEAMM plug-in for defining command-line parameters for a flowchart. This plug-in provides a step in a SEAMM flowchart where a user can define required and optional arguments for the flowchart as a whole. When the flowchart is run, the command-line is parsed and the arguments placed in variables that can then be used by other steps.

This can be used to pass file names or SMILES strings for the molecules to run; or give the temperature and pressure; or any appropriate parameters that the flowchart author feels are relevant.

When run from the command-line, giving the option –help provides help on these control parameters as well as other options for the run:

bash-3.2$ ../flowcharts/psi4.flow --help
usage: ../flowcharts/psi4.flow [options] plug-in [options] plug-in [options] ...

positional arguments:
  SMILES                The SMILES string for the input molecule

optional arguments:
  -h, --help            show this help message and exit
  --method {b3lyp-d3mbj,mp2,ccsd}
                        The type of calculation
...

Features

  • Graphical user interface (GUI) to define the parameters.

  • Mandatory and optional arguments, as well as flags for boolean options.

  • Default values for optional arguments.

  • Follows standard, familiar Unix conventions for command-line arguments.

  • Help provided by -h or –help options.

Credits

This package was created with Cookiecutter and the molssi-seamm/cookiecutter-seamm-plugin project template.

Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under award OAC-1547580 and CHE-2136142.

History

2023.1.23: Fixed issue with parameters with ‘_’

  • Fixed issue with ‘-’ and ‘_’ in parameter/variable names

  • Revamped documentation to the new MolSSI style and diátaxis layout.

  • (internal) Moved from LGTM to GitHub CodeQL for code quality analysis

2022-6-6: Fixed bugs when editing parameters

  • Also added button to remove a parameter.

2022.2.9: Added ‘files’ to parameter types

  • Added ‘files’ to parameter types. Needed for job submission

2021.10.13: Cleaned up the GUI

  • Made the dialog larger

  • Show all parameters

  • Made appropriate comboboxes read only

2021.6.3: Update for internal change in argument parsing

  • Updated for the SEAMM argument parser moving to seamm_util

2021.2.9: Improved description for the installer

  • Added to the README text, and made it conform to the standard style

2020.12.4: First working release

Adds functionality to SEAMM for specifying key control parameters, items such as the structure, temperature, and pressure, and use them as command-line parameters. In the future, we will also provide the ability to set them when submitting a flowchart from the Python or web interfaces.

0.1 (2020-10-06)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

control_parameters_step-2023.1.23.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

control_parameters_step-2023.1.23-py2.py3-none-any.whl (18.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file control_parameters_step-2023.1.23.tar.gz.

File metadata

File hashes

Hashes for control_parameters_step-2023.1.23.tar.gz
Algorithm Hash digest
SHA256 f9f7bcd3e53029c5c8f92ae55506d6d4d41fecec48cde29c26d3ab7971e34bae
MD5 ec31cc9cc1884066f181f61dab1e2f24
BLAKE2b-256 15d9a40e3de944a410f273ad8b17b0b2386a7e021731b0408b29c19f4e543112

See more details on using hashes here.

File details

Details for the file control_parameters_step-2023.1.23-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for control_parameters_step-2023.1.23-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 42a0d4648593d47832f7aa944e279a2f7c67af2789c0d0786e7038bc8ba22124
MD5 b2a120cc0afaa9ce38237c95c42b6d0a
BLAKE2b-256 71f0ba1f7a37476ed52c17454c3d75c871a56b8e2b572fb0976aae0a248ba3c5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page