File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
snakemake_executor_plugin_slurm Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ def time_to_seconds(time_str):
34
34
# Try different SLURM time formats with datetime parsing
35
35
time_formats = [
36
36
"%d-%H:%M:%S.%f" , # D-HH:MM:SS.ffffff (with fractional seconds)
37
- "%d-%H:%M:%S" , # D-HH:MM:SS
38
- "%d-%M:%S" , # D-MM:SS
39
- "%d-%M:%S.%f" , # D-MM:SS.ffffff (with fractional seconds)
40
- "%H:%M:%S.%f" , # HH:MM:SS.ffffff (with fractional seconds)
41
- "%H:%M:%S" , # HH:MM:SS
42
- "%M:%S.%f" , # MM:SS.ffffff (with fractional seconds)
43
- "%M:%S" , # MM:SS
44
- "%S.%f" , # SS.ffffff (with fractional seconds)
45
- "%S" , # SS
37
+ "%d-%H:%M:%S" , # D-HH:MM:SS
38
+ "%d-%M:%S" , # D-MM:SS
39
+ "%d-%M:%S.%f" , # D-MM:SS.ffffff (with fractional seconds)
40
+ "%H:%M:%S.%f" , # HH:MM:SS.ffffff (with fractional seconds)
41
+ "%H:%M:%S" , # HH:MM:SS
42
+ "%M:%S.%f" , # MM:SS.ffffff (with fractional seconds)
43
+ "%M:%S" , # MM:SS
44
+ "%S.%f" , # SS.ffffff (with fractional seconds)
45
+ "%S" , # SS
46
46
]
47
47
48
48
for fmt in time_formats :
You can’t perform that action at this time.
0 commit comments