We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6657e commit 6830e3aCopy full SHA for 6830e3a
nipype/utils/draw_gantt_chart.py
@@ -534,13 +534,15 @@ def generate_gantt_chart(
534
# Read in json-log to get list of node dicts
535
nodes_list = log_to_dict(logfile)
536
537
- # Only include nodes with timing information, and covert timestamps
+ # Only include nodes with timing information, and convert timestamps
538
# from strings to datetimes
539
nodes_list = [
540
{
541
- k: datetime.datetime.strptime(i[k], "%Y-%m-%dT%H:%M:%S.%f")
542
- if k in {"start", "finish"}
543
- else i[k]
+ k: (
+ datetime.datetime.strptime(i[k], "%Y-%m-%dT%H:%M:%S.%f")
+ if k in {"start", "finish"}
544
+ else i[k]
545
+ )
546
for k in i
547
}
548
for i in nodes_list
0 commit comments