Issue 126: IRI-API#127
Conversation
…the correct mechanism based on IRI/SF-API
…t flow for reconstruction to test job submission. In reconstruct(), replaced the SFAPI-specific job submission/polling code with the general _submit_job() and _wait_for_job() methods.
…_for_job() helpers
…ondition when submitting concurrent jobs
…bus/get_globus_token.py
dylanmcreynolds
left a comment
There was a problem hiding this comment.
Maybe re-arrange the tests in this PR? nersc and mlflow are general capabilities warranting their own tests outside of test_bl832. But some of what's in test_nersc.py now is specific to 8.3.2
dylanmcreynolds
left a comment
There was a problem hiding this comment.
the nersc.py reawlly should be up one level.
dylanmcreynolds
left a comment
There was a problem hiding this comment.
there's a lot of hardcoding in register_mlflow.py that should eventually be parameters...maybe not this PR
…er than a global variable
There are definitely parts of A potential path forward for reorganizing: @dylanmcreynolds, curious about your thoughts on this structure before I move forward. Maybe it makes sense to open a new Issue/PR to tackle it. |
|
I generally love the structure. A couple of small notes:
|
|
I like it, here's a revised version: |
|
Looks good to me! |
This PR addresses issue #126 with the integration of IRI-API for NERSC job submissions. It builds on the
NERSCTomographyHPCControllerby providing alogin_methodoption to choose between SFAPI (current) and IRI-API (new) authentication. It also adds two new methods:_submit_job()and_wait_for_jobthat use the mechanisms specific to each API.