From b29d230eead7008d0d655bd02b1b084333179813 Mon Sep 17 00:00:00 2001 From: Volker Hoffmann Date: Wed, 26 Aug 2015 08:55:42 +0200 Subject: docs: function doc fixes --- Common/slurm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Common/slurm.py b/Common/slurm.py index 3ff13fc..bb9381a 100644 --- a/Common/slurm.py +++ b/Common/slurm.py @@ -12,7 +12,7 @@ def get_number_of_nodes_down(): Slurm Command: sinfo --format=%o --list-reasons --noheader --partition=zbox - @return: number_of_nodes_down [Integer] + @return: number_of_nodes_down - [Dict {'partition': 2, ...}] """ number_of_nodes_down = {} @@ -70,7 +70,7 @@ def get_cpu_allocations(): Slurm Command: squeue --format=%C --partition zbox --noheader - @return: number_of_allocated_cpus [Dict {'partition': ncpus}] + @return: number_of_allocated_cpus - [Dict {'partition': ncpus, ...}] """ # Old, Really Slow Command: @@ -106,7 +106,7 @@ def get_number_of_jobs_by_partition_and_state(): Slurm Command: squeue --noheader --format=%T:%P --partition=zbox --state=pending - @return number_of_jobs_by_partition - [Dict {'zbox': {'running': 1}} + @return number_of_jobs_by_partition - [Dict {'zbox': {'running': 1}, ...] """ partitions = [ 'zbox', 'serial', 'debug', 'tasna', 'vesta' ] -- cgit v1.1