-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add parallel=False flag to Group() #272
Add parallel=False flag to Group() #272
Conversation
Honestly, if you have time, tinker with what's going on in #271 and see if you can make supernova run inside GHA. I won't be able to devote much time to that until next week. |
Testing specifics aside, this looks like the implementation I was thinking of. If we can't get supernova to run inside GHA in a reasonable timeframe, you can always write tests decorated with |
Tested the code with my local setup. Seems to work fine. I run
and the following Python code:
With
and get the following from
Then I run
same Python code and the same
|
Started to test it in another branch: gitmarek#5. Will rebase once #274 or similar is merged |
I merged #274 in (thanks!). Go ahead and rebase whenever. |
Add paralleg group flag to Providers Remove lint
The same choice between Also, I see two ways how to test if the flag works.
|
The pattern I've followed to date is that the low-level "command" classes like For testing, use the OSC-sniffing technique |
Also want to say that getting But it's going to be tricky for a couple of reasons:
|
supriya/realtime/nodes.py
Outdated
if node.parallel: | ||
request_method = supriya.commands.ParallelGroupNewRequest | ||
else: | ||
request_method = supriya.commands.GroupNewRequest |
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.
I like the three-line construction you use elsewhere:
request_method = supriya.commands.GroupNewRequest
if self._parallel:
request_method = supriya.commands.ParallelGroupNewRequest
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!
Let me know if you're satisfied and I'll merge and cut a new release.
👍 |
@gitmarek I'm holding off on releasing until I get OSX builds working again in GHA. |
...to allow allocation of parallel groups on supernova.
Ref.: #gitmarek@cef6ef8#r87738788
Locally, all tests passed, so it looks like I didn't break anything. Before squashing anything, I'm going to test it manually and wait for supernova to be deployed on GHA to try to write some unit tests too...