Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Codrea committed Apr 12, 2024
1 parent 4850968 commit e097341
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 25 deletions.
1 change: 0 additions & 1 deletion .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
- name: Run ruff
uses: davidslusser/[email protected]

with:
python_version: "3.11"

Expand Down
14 changes: 0 additions & 14 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,12 @@ describe future plans.
1.6.19
******

<<<<<<< HEAD
<<<<<<< HEAD
release expected by 2024-04-12

New Features
------------

* Add new plan for edge alignment called edge_align
=======
release expected by 2024-04-02
>>>>>>> 562df2bb (DOC #909 update release notes)
=======
release expected by 2024-04-12
>>>>>>> 63c1db08 (DOC #955)

New Features
------------
Expand All @@ -54,21 +46,15 @@ Fixes
* lineup2() should work with low intensity peaks.
* lineup2() would raise ZeroDivideError in some cases.
* Increase minimum aps-dm-api version to 8.
<<<<<<< HEAD
* Race condition with SR570 pre-amp.
=======
>>>>>>> 2e612356 (DOC #932 update relase notes)

Maintenance
-----------

* Code format conforms to 'ruff'.
* Add additional support for APS Data Management API.
<<<<<<< HEAD
* Make the home page more concise.
* Refactor packaging from setup.py to pyproject.toml.
=======
>>>>>>> 2e612356 (DOC #932 update relase notes)

1.6.18
******
Expand Down
10 changes: 2 additions & 8 deletions apstools/plans/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,8 @@

def lineup(
# fmt: off
detectors,
axis,
minus,
plus,
npts,
time_s=0.1,
peak_factor=4,
width_factor=0.8,
detectors, axis, minus, plus, npts,
time_s=0.1, peak_factor=4, width_factor=0.8,
feature="cen",
rescan=True,
bec=None,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dependencies = [
"pyepics>=3.4.2",
"pyRestTable>=2020.0.8",
"pysumreg",
"scipy>=1.13.0",
"scipy",
"spec2nexus>=2021.1.7",
"xlrd",
]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ psutil
pyepics>=3.4.2
pyRestTable
pysumreg
scipy>=1.13.0
scipy
spec2nexus>=2021.1.7
xlrd

0 comments on commit e097341

Please sign in to comment.