You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playing around with the nf-aggregate pipeline in our Seqera platform environment. I ran into the following issue where multiqc fails to load certain dumps from tw dump for failed workflows due to a null completion time.
I think this is because the block to convert "start" and "stop" into timestamps checks for entries in the dict, but a few lines above the dict comprehension d = {k: d.get(k) for k in keys} adds a null value if "complete" is missing.
File that triggers the error
No response
MultiQC Error log
╭────────────────────────────────────────── Oops! The 'seqera_cli' MultiQC module broke... ───────────────────────────────────────────╮│ Please copy this log and report it at https://github.com/MultiQC/MultiQC/issues ││ Please attach a file that triggers the error. The last file found was: 414/2JhpLeEnmCevOV/workflow.json ││ ││ Traceback (most recent call last): ││ File "/locus/home/avigil/venvs/39/lib/python3.9/site-packages/multiqc/multiqc.py", line 728, in run ││ output = mod() ││ File "/locus/home/avigil/venvs/39/lib/python3.9/site-packages/multiqc/modules/seqera_cli/seqera_cli.py", line 102, in __init__ ││ d = self._parse_data(d) ││ File "/locus/home/avigil/venvs/39/lib/python3.9/site-packages/multiqc/modules/seqera_cli/seqera_cli.py", line 176, in _parse_data ││ complete = dt.datetime.strptime(d["complete"], "%Y-%m-%dT%H:%M:%SZ") ││ TypeError: strptime() argument 1 must be str, not None ││ │╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Description of bug
Playing around with the nf-aggregate pipeline in our Seqera platform environment. I ran into the following issue where multiqc fails to load certain dumps from
tw dump
for failed workflows due to a null completion time.I think this is because the block to convert "start" and "stop" into timestamps checks for entries in the dict, but a few lines above the dict comprehension
d = {k: d.get(k) for k in keys}
adds a null value if "complete" is missing.File that triggers the error
No response
MultiQC Error log
Before submitting
The text was updated successfully, but these errors were encountered: