-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated interface to get_variables_data (#272)
* Updated interface to get_variables_data * Removed check for index values for now and only keep return type change * Added fix to adjust indices if out of bounds and updated docstring * Added fix for cached values affecting partial trajectories and added test * Removed print-statements * Added the fix for handling cache also for diagnostics variable * Removed unused exception * robuster solution for next start index * Fixed issue with stop_index and added more tests * Changed if len(traj) > 0 to simply if traj * Fixed issue with start out of bounds * Added another fix for stop_index>data points, updated docstring * Fixed if-statement for stop_index and removed use of inf * improved code and added test for next start index * Changed for loop to another expression with better performance
- Loading branch information
1 parent
dfe267e
commit e271753
Showing
3 changed files
with
271 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.