Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes required for PB tools #58

Merged
merged 5 commits into from
Dec 5, 2019
Merged

Changes required for PB tools #58

merged 5 commits into from
Dec 5, 2019

Conversation

aawdls
Copy link
Contributor

@aawdls aawdls commented Dec 5, 2019

Most of the work I have done in pb_tools I have moved to a new module dls_pb_tools

This takes with it the dependencies on PyQt5 and cothread, and means py < 3.6 can be reinstated.

In the AA storage, a PV name is broken up into parts
and there are subdirectories with each part of the name.
This method is to reverse that process so you can work out
what a PV name is from the path to the PB file.

The first three slashes in the path become dashes in the
PV anme. Subsequent slashes become colons.

E.g. "BL14I/MO/STAGE/01/XF.RBV:2019.pb" goes to
"BL14I-MO-STAGE-01:XF.RBV"
@aawdls
Copy link
Contributor Author

aawdls commented Dec 5, 2019

(My plan would be to get these changes merged, and make a new release of aapy. Then I can depend on it in dls_pb_tools)

@coveralls
Copy link

Pull Request Test Coverage Report for Build 457

  • 29 of 31 (93.55%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 97.406%

Changes Missing Coverage Covered Lines Changed/Added Lines %
aa/storage.py 15 17 88.24%
Totals Coverage Status
Change from base Build 393: -0.3%
Covered Lines: 1765
Relevant Lines: 1812

💛 - Coveralls

@coveralls
Copy link

coveralls commented Dec 5, 2019

Pull Request Test Coverage Report for Build 457

  • 29 of 31 (93.55%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 97.434%

Changes Missing Coverage Covered Lines Changed/Added Lines %
aa/storage.py 15 17 88.24%
Totals Coverage Status
Change from base Build 393: -0.3%
Covered Lines: 2354
Relevant Lines: 2416

💛 - Coveralls

1 similar comment
@coveralls
Copy link

Pull Request Test Coverage Report for Build 457

  • 29 of 31 (93.55%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 97.434%

Changes Missing Coverage Covered Lines Changed/Added Lines %
aa/storage.py 15 17 88.24%
Totals Coverage Status
Change from base Build 393: -0.3%
Covered Lines: 2354
Relevant Lines: 2416

💛 - Coveralls

@coveralls
Copy link

coveralls commented Dec 5, 2019

Pull Request Test Coverage Report for Build 459

  • 29 of 31 (93.55%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 97.434%

Changes Missing Coverage Covered Lines Changed/Added Lines %
aa/storage.py 15 17 88.24%
Totals Coverage Status
Change from base Build 393: -0.3%
Covered Lines: 2354
Relevant Lines: 2416

💛 - Coveralls

aa/pb.py Outdated Show resolved Hide resolved
@willrogers
Copy link
Member

Looks fine to me.

@aawdls aawdls merged commit 4817600 into master Dec 5, 2019
@willrogers willrogers deleted the pb-tools-rebase branch December 6, 2019 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants