tgen / jetstream_resources

Collection of scripts and README files tracking the source and generation of reference genomes and annotation files
MIT License
3 stars 1 forks source link

Update report_cpu_usage.py #38

Closed bryce-turner closed 4 years ago

bryce-turner commented 4 years ago

This modifies the output into a more parseable format for elapsed time while retaining granularity for cpu hours. The original format took the direct timedelta output, this new method uses the total_seconds calculation and converts to hours, minutes, seconds. Raw format from slurm: 1-08:24:12 Original format implementation: 1 day, 08:24:12 New format implementation: 32:24:12