Skip to content

Commit

Permalink
round time
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhao-Gu committed Aug 19, 2024
1 parent c637562 commit 1257e43
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/loaders/compute_tools/checkm2/checkm2.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _run_checkm2(
"comment": "diamond_db, ver unknown",
},
'ids_to_files': make_json_serializable(ids_to_files),
'run_time': run_time,
'run_time': round(run_time, 2),
'batch_size': size,
}
create_tool_metadata(output_dir, metadata)
Expand Down
2 changes: 1 addition & 1 deletion src/loaders/compute_tools/eggnog/eggnog.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _run_eggnog_single(
"reference_db": {
"version": "5.0.2",
},
'run_time': run_time,
'run_time': round(run_time, 2),
'batch_size': 1,
}
create_tool_metadata(output_dir, metadata)
Expand Down
2 changes: 1 addition & 1 deletion src/loaders/compute_tools/gtdb_tk/gtdb_tk.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _run_gtdb_tk(
"version": "release214",
},
'ids_to_files': make_json_serializable(ids_to_files),
'run_time': run_time,
'run_time': round(run_time, 2),
'batch_size': size,}
create_tool_metadata(output_dir, metadata)

Expand Down
2 changes: 1 addition & 1 deletion src/loaders/compute_tools/mash/mash.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _run_mash_single(
'tool_name': 'mash',
'version': '2.0',
'command': command,
'run_time': run_time,
'run_time': round(run_time, 2),
'batch_size': 1,
}
create_tool_metadata(output_dir, metadata)
Expand Down
2 changes: 1 addition & 1 deletion src/loaders/compute_tools/microtrait/microtrait.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _run_microtrait(
'tool_name': 'microtrait',
'version': 'None',
'command': 'None - R script',
'run_time': run_time,
'run_time': round(run_time, 2),
'batch_size': 1,
}
create_tool_metadata(genome_dir, metadata)
Expand Down

0 comments on commit 1257e43

Please sign in to comment.