Closed mitkotak closed 5 months ago
@mitkotak I have two tasks on this PR:
Thanks!
Just tested this functionality out, It's pretty cool!
There are a few changes we need to make though. I think the way this will be used is to test a variety of parameters/settings to ensure that the job works, so reading from one hard-coded file isn't going to work. I think we should probably remove the code that reads from the JSON if the file exists.
Ideally the solution we want is for the user to provide a path to a JSON or a JSON loaded as a dict to a function like "run_job_using_params(...)" that takes in the dictionary of parameters and submits the job. I don't think we need to add it to the UI right now because this is mostly for model developers and the important part is that the functionality exists.
Other notes for when we come back to this functionality/future work (aka you don't need to do this for this PR):
Allows us to do something like