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

Add slapcomp compatibility #5

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

aardschok
Copy link
Contributor

@aardschok aardschok commented Mar 22, 2018

  • Adds UI elements to control slap comp submission

    • Run slap comp checkbox
    • Browse functionality
  • Minor code improvements

@aardschok aardschok requested a review from BigRoy March 22, 2018 14:55
self.flow_file.setEnabled(state)
self.brows_file_btn.setEnabled(state)

def on_brows_clicked(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo, brows -> browse


cmds.setAttr("{}.priority".format(instance), settings["priority"])
# Format to Maya default
# attr_name = key[0].lower() + key[1:]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented line can be removed

@BigRoy
Copy link
Member

BigRoy commented Mar 23, 2018

Some typos, other than that looks nice.

@aardschok
Copy link
Contributor Author

Fixed the minor points, only merge when config has been merged

@BigRoy
Copy link
Member

BigRoy commented Mar 30, 2018

Also typo in variable name right? :)

@@ -29,14 +37,28 @@ def setup_ui(self):

publish = QtWidgets.QCheckBox("Suspend Publish Job")
defaultlayer = QtWidgets.QCheckBox("Include Default Render Layer")
run_slap_comp = QtWidgets.QCheckBox("Run Slap Comp")

brows_hlayout = QtWidgets.QHBoxLayout()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hehe, sorry @aardschok - noticed just right now there are actually much more variables with brows instead of browse - this line and the lines below (45 to 54, 120, 131)

@@ -29,21 +51,21 @@ def query(argument):

def get_machine_list(debug=None):
"""Fetch the machine list (slaves) from Deadline"""
AVALON_SESSION = debug or avalon.Session["AVALON_DEADLINE"]
AVALON_SESSION = debug or api.Session["AVALON_DEADLINE"]
Copy link
Member

@BigRoy BigRoy Mar 30, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make more sense to call this variable avalon_deadline or something? It's not actually the session. :) Also in the other methods.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL, this slipped in without me even noticing. I know I wanted to call it AVALON_DEADLINE :')

@aardschok
Copy link
Contributor Author

After the config PR has been updated we can merge this along with it.

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.

2 participants