diff --git a/assets/multiqc_config.yml b/assets/multiqc_config.yml index cb16d36..6a26ac2 100644 --- a/assets/multiqc_config.yml +++ b/assets/multiqc_config.yml @@ -20,4 +20,4 @@ export_plots: true table_columns_placement: "Custom content: work_bucket_listing": - "Work storage (GB)": 1500 \ No newline at end of file + "Work storage (GB)": 1500 diff --git a/modules/local/plot_run_gantt/resources/usr/local/bin/plot_run_gantt.py b/modules/local/plot_run_gantt/resources/usr/local/bin/plot_run_gantt.py index f931cdc..e5f4eb8 100755 --- a/modules/local/plot_run_gantt/resources/usr/local/bin/plot_run_gantt.py +++ b/modules/local/plot_run_gantt/resources/usr/local/bin/plot_run_gantt.py @@ -29,8 +29,6 @@ def extract_instance(fusion_logs: Path) -> str: "--input-dir", type=click.Path(), help="The pipeline dump tar.gz input file." ) @click.option("--output-file", type=click.Path(), help="The HTML output file") - - def build_gantt(title: str, input_dir: str, output_file: str): tasks = [] instance_ids = {} @@ -70,7 +68,8 @@ def build_gantt(title: str, input_dir: str, output_file: str): "name": d["name"], "size": f"{d['cpus']}c_{math.ceil(d['memory'] / 1024 ** 3):.0f}GB", "start": datetime.strptime(d["start"], "%Y-%m-%dT%H:%M:%SZ"), - "complete": datetime.strptime(d["complete"], "%Y-%m-%dT%H:%M:%SZ") + timedelta(seconds=1), + "complete": datetime.strptime(d["complete"], "%Y-%m-%dT%H:%M:%SZ") + + timedelta(seconds=1), "instance": f"{d.get('instanceId', 'HEAD')} ({d.get('machineType', 'unknown')})", } for d in data diff --git a/modules/nf-core/custom/dumpsoftwareversions/environment.yml b/modules/nf-core/custom/dumpsoftwareversions/environment.yml index 79dca0d..33fa3bf 100644 --- a/modules/nf-core/custom/dumpsoftwareversions/environment.yml +++ b/modules/nf-core/custom/dumpsoftwareversions/environment.yml @@ -6,4 +6,4 @@ dependencies: - conda-forge::git=2.42.0 - pip - pip: - - git+https://github.com/ewels/MultiQC.git + - git+https://github.com/ewels/MultiQC.git diff --git a/modules/nf-core/multiqc/environment.yml b/modules/nf-core/multiqc/environment.yml index 79dca0d..33fa3bf 100644 --- a/modules/nf-core/multiqc/environment.yml +++ b/modules/nf-core/multiqc/environment.yml @@ -6,4 +6,4 @@ dependencies: - conda-forge::git=2.42.0 - pip - pip: - - git+https://github.com/ewels/MultiQC.git + - git+https://github.com/ewels/MultiQC.git