Add MESHROOM_SUBMIT_LABEL to customize the label of a node when submitted on renderfarm

This commit is contained in:
Fabien Castan 2024-08-31 11:53:37 +02:00
parent e832286d0f
commit 9d414eda2f
2 changed files with 4 additions and 4 deletions

View file

@ -64,8 +64,8 @@ parser.add_argument('--submit', help='Submit on renderfarm instead of local comp
action='store_true')
parser.add_argument("--submitLabel",
type=str,
default='[Meshroom] {projectName}',
help="Label of a node in the submitter")
default=os.environ.get('MESHROOM_SUBMIT_LABEL', '[Meshroom] {projectName}'),
help="Label of a node when submitted on renderfarm.")
parser.add_argument('--submitter',
type=str,
default='SimpleFarm',

View file

@ -121,8 +121,8 @@ Additional Resources:
'--submitLabel',
metavar='SUBMITLABEL',
type=str,
help='Label of a node in the submitter.',
default='[Meshroom] {projectName}'
help='Label of a node when submitted on renderfarm.',
default=os.environ.get('MESHROOM_SUBMIT_LABEL', '[Meshroom] {projectName}'),
)
# Project and Input Options