Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Syme <[email protected]>
  • Loading branch information
robsyme committed Nov 13, 2023
1 parent 30dff83 commit fb621cc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion assets/multiqc_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ export_plots: true

table_columns_placement:
"Custom content: work_bucket_listing":
"Work storage (GB)": 1500
"Work storage (GB)": 1500
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/multiqc/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb621cc

Please sign in to comment.