-
Notifications
You must be signed in to change notification settings - Fork 26
WIP: Add sub dax #64
base: master
Are you sure you want to change the base?
WIP: Add sub dax #64
Conversation
Hi @Cyberface. Personally, I would prefer not to add this functionality. In the current PE That aside, if we do want to proceed with this, you raise two points:
|
@spxiwh Thanks for looking at this.
Side note: On point 1: On point 2: This is still WIP and also if there are alternative options I'd be happy to explore those. Perhaps |
Hi @Cyberface. Yeah, I know that To address the technical points. Yes, The fact that this is a monster bash script is probably the reason it won't work with As |
Some of us think it would be good to have the option to both make a gwin workflow and submit the dax to a cluster using a single command. This RP attempts to do this however, it is not entirely suitable at the moment I don't think.
I would like some feedback from @spxiwh.
I found that the only way I could get this to work was if I used the
shell=True
option ofmake_external_call
.Also I added the
fail_on_error=False
flag tomake_external_call
because even though when I rangwin_make_workflow
with the new--submit-dax
flag the code ran to completion, submitted the dax successfully but alsomake_external_call
returned an error code for some reason, even though the dax was actually submitted successfully.Am I missing some tricks in order to get this to work nicer? Because I would like to add some checks or
try/except
when I try to submit the dax to try and catch an issues.Perhaps we don't want to go down this route but I'd like to start the discussion on it here.