Skip to content

Commit

Permalink
Fix job statepoint sorting.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Nov 8, 2023
1 parent 74c9aa4 commit 994cc3d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ def job_sorter(self, job):
"""Sort jobs."""
if job.statepoint.subproject == 'patchy_particle_pressure':
return (
job.sp.density,
job.sp.pressure,
job.sp.temperature,
job.sp.chi,
job.sp.replicate_idx,
job.statepoint.subproject,
job.statepoint.density,
job.statepoint.pressure,
job.statepoint.temperature,
job.statepoint.chi,
job.statepoint.replicate_idx,
)

return job.statepoint.num_particles
return (job.statepoint.subproject, job.statepoint.num_particles,)


if __name__ == '__main__':
Expand Down

0 comments on commit 994cc3d

Please sign in to comment.