Skip to content

Commit 18be749

Browse files
fix: Correct docstring for time_to_seconds - M:SS not H:MM
The 2-part format is M:SS (minutes:seconds), not H:MM, since there's no way to disambiguate and the file's 30-second interval confirms it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 968c9d2 commit 18be749

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/allotropy/parsers/moldev_softmax_pro/softmax_pro_structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def num_wells_to_n_columns(well_count: int) -> int:
6464

6565

6666
def time_to_seconds(time: str) -> float:
67-
"""Transforms time string into seconds. Supports H:MM:SS, HH:MM:SS, H:MM, M:SS formats."""
67+
"""Transforms time string into seconds. Supports H:MM:SS, HH:MM:SS, and M:SS formats."""
6868
parts = time.split(":")
6969
if len(parts) == 3:
7070
try:

0 commit comments

Comments
 (0)