You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Code scan] einstein CLI passes the wrong type to free_energy #131
Problem
The dpti.einstein CLI loads the input JSON into a dict and passes that dict to free_energy(). The free_energy() API expects a job directory path and immediately calls os.path.join(job, 'in.json'), so the CLI path is broken.
Expected result
The CLI should either accept a job directory and pass it through to free_energy(), or the API should be changed to accept the loaded JSON consistently.
Activity