Skip to content

Cloud workflow does not work with some yaml args #1213

@tahorst

Description

@tahorst

It looks like borealis should be able to accept idle_for_waiters and some other values from my_launchpad.yaml based on the comment here but including any of these additional values in the yaml file will result in an error when trying to run wcm.py because of fireworks not expecting the arg:

Traceback (most recent call last):                                                                                                           
  File "runscripts/cloud/wcm.py", line 482, in <module>                                                                                      
    script.cli()                                                                                                                             
  File "/home/travis/wcEcoli/wholecell/utils/scriptBase.py", line 642, in cli                                                                
    self.run(args)                                                                                                                           
  File "runscripts/cloud/wcm.py", line 474, in run                                                                                           
    wf.send_to_lpad(                                                                                                                         
  File "/home/travis/wcEcoli/runscripts/cloud/util/workflow.py", line 521, in send_to_lpad                                                   
    lpad = LaunchPad(**config)                                                                                                               
TypeError: __init__() got an unexpected keyword argument 'idle_for_waiters'

I think we would also need to pull those options out of the config here:

metadata = {'db': db_name}
copy_key(config, 'host', metadata)
copy_key(config, 'uri_mode', metadata)
copy_key(config, 'username', metadata)
copy_key(config, 'password', metadata)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions