BCDA-APS / adl2pydm

Convert MEDM's .adl files to PyDM's .ui format
Other
0 stars 4 forks source link

adl2pydm

release tag Python version PyPi conda-forge

license: ANL Unit Tests

NOTE: This project is in initial development. Be amazed when something works right at this time. If you find something that does not work right or could be better, please file an issue since that will be an important matter to be resolved.

Convert MEDM's .adl files to PyDM's .ui format

Usage

user@localhost ~ $ adl2pydm
usage: adl2pydm [-h] [-d DIR] [-v] adlfile
adl2pydm: error: the following arguments are required: adlfile

Help

user@localhost ~ $ adl2pydm -h
usage: adl2pydm [-h] [-d DIR] [-v] [-log LOG] [--use-scatterplot] adlfiles [adlfiles ...]

Convert MEDM's .adl screen file(s) to PyDM .ui format. (https://github.com/BCDA-APS/adl2pydm) v0.0.1+279.g5d2b329.dirty

positional arguments:
  adlfiles             MEDM '.adl' file(s) to convert

optional arguments:
  -h, --help           show this help message and exit
  -d DIR, --dir DIR    output directory, default: same directory as input file
  -v, --version        show program's version number and exit
  -log LOG, --log LOG  Provide logging level. Example --log debug', default='warning'
  --use-scatterplot    Translate MEDM 'cartesian plot' widget as `PyDMScatterPlot` instead of `PyDMWaveformPlot`, default=False

Install

Only the pip install is working now (PyPI package):

Once a conda package has been built and uploaded to the aps-anl-tag channel on conda-forge, (see related GitHub issue) then:

Note: Only the standard Python (3.7 or higher) packages are needed to run adl2pydm. No additional packages are required.