-
Notifications
You must be signed in to change notification settings - Fork 72
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
Inner, outer class consistency #321
Inner, outer class consistency #321
Conversation
Okay I might need to add a minimum failure delta because that is ridiculous 😂 |
@scasagrande Is the consistency idea here to move above classes to inner ones and first SRS example ok in your opinion? |
Yeah I think that's fine. It's what I did for the |
sounds good. i'll have a look and start plowing through some classes :) |
- Move Axis class into instrument - Move HomeSearchMode, Units, MotorType enums into instrument
The Thorlabs APT seems already adequately specified. Must have missed this in the first go-around, removing it from above list. |
The abstract instrument |
Looks like coveralls contradicts itself now. Most of the failed coverage seem to come when |
The classes I found that had inner-outer consistencies are now changed. I think this is ready for review @scasagrande |
Yeah the "unit test" one from coveralls is just the first job that is
submitted to coveralls, not the conclusion of the parallel jobs
"coverage/coveralls"
I need to fix that, so just rely on the second please
…On Mon, Jan 24, 2022 at 2:21 PM Reto Trappitsch ***@***.***> wrote:
Looks like coveralls contradicts itself now. Most of the failed tests seem
to come when numpy is None...
—
Reply to this email directly, view it on GitHub
<#321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAL3S6IBHBR5Y62RBNTVMNTUXWRDXANCNFSM5MT5NTYA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Steven Casagrande, MSc
Waterloo, Ontario
|
Coveralls has been fixed, just refresh your branch 👍 |
Yey, even coverall passes now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
I thought of tackling issue #15, which is also on the todo list for v1.0 (#190). Inner classes seem to have the advantage that the individual channels, etc., are not exposed directly to the user, so I think it makes more sense. On the todo list of instruments to fix are:
As an example, I started with the srs/srsdg645, mostly to see how it goes and discuss above list. Pinging @scasagrande for ideas, comments, etc.