Skip to content

Commit

Permalink
RVW #426 Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Sep 27, 2020
1 parent accc294 commit 352a7c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apstools/beamtime/apsbss.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,9 +706,9 @@ def cmd_esaf(args):
esaf = getEsaf(args.esafId)
print(yaml.dump(esaf))
except DmRecordNotFound as exc:
print(exc)
print(f"DmRecordNotFound reported: {exc}")
except dm.DmException as exc:
print("dm reported: {exc}")
print(f"dm reported: {exc}")


def cmd_proposal(args):
Expand Down
6 changes: 3 additions & 3 deletions apstools/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1748,10 +1748,10 @@ def AD_plugin_primed(detector_plugin):
Since Area Detector release 2.1 (2014-10-14).
The *prime* process is not needed if you select the
The *prime* process is not needed if you select the
*LazyOpen* feature with *Stream* mode for the file plugin.
*LazyOpen* defers file creation until the first frame arrives
in the plugin. This removes the need to initialize the plugin
*LazyOpen* defers file creation until the first frame arrives
in the plugin. This removes the need to initialize the plugin
with a dummy frame before starting capture.
"""
old_capture = detector_plugin.capture.get()
Expand Down
6 changes: 4 additions & 2 deletions packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ Build and upload::

Builds of this package are uploaded to these conda channels:

* `aps-anl-tag` production releases
* `aps-anl-dev` anything else, such as: pre-release, release candidates, or testing purposes
* `aps-anl-tag` :
production releases
* `aps-anl-dev` :
anything else, such as: pre-release, release candidates, or testing purposes

0 comments on commit 352a7c7

Please sign in to comment.