Skip to content

Commit

Permalink
Minor typo (#97)
Browse files Browse the repository at this point in the history
Trying to get the peptide script running see [issue](#92)
  • Loading branch information
Zitzeronion authored Oct 17, 2024
1 parent 898b19f commit aaeb806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def get_dt(data, time_col = "time", relative_tolerance = 0.01, verbose = False):
Note:
- `relative_tolerance` is used in two ways to check for irregularities in time intervals of between consecutive lines:
- Sometimes, small inconsistencies in time intervals may occur due to rounding errors or because we run a short tuning of cells or Ewald parameters. These inconsistencies are considered negligible, as long as they do not exceed dt * relative_tolerance
- Sometimes, consecutive values may have identical times, e.g. if only reactions are performed but there no MD evolution in beteen. In this case, dt is ill-defined. As of May 2024, we only produce warnings but do not raise an error in order to retain backward compatibility. We deprecate such use and plan to remove this compatibility in the future. If necessary, the user can always override get_dt() by providing a custom value on the input.
- Sometimes, consecutive values may have identical times, e.g. if only reactions are performed but there no MD evolution in between. In this case, dt is ill-defined. As of May 2024, we only produce warnings but do not raise an error in order to retain backward compatibility. We deprecate such use and plan to remove this compatibility in the future. If necessary, the user can always override get_dt() by providing a custom value on the input.
"""
if time_col in data.columns.to_list():
time = data[ time_col ]
Expand Down

0 comments on commit aaeb806

Please sign in to comment.