Skip to content

Commit

Permalink
avoid data of invariant example model being constantly overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
maximvochten committed Apr 22, 2024
1 parent 1db5f01 commit 4197fc2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ reformulation_*
generation_*
codegen/
__pycache__/
casadi_codegen.obj
casadi_codegen.obj
invariants_py/data/sine_wave_invariants.csv
2 changes: 1 addition & 1 deletion examples/generate_trajectory_position.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from invariants_py.generate_trajectory import generate_trajectory_translation

# Find the path to the data file
path_to_data = dh.find_data_path("sine_wave_invariants.csv")
path_to_data = dh.find_data_path("sine_wave_invariant_model.csv")

# Load the invariants data from the file
invariant_model = dh.read_invariants_from_csv(path_to_data)
Expand Down
File renamed without changes.

0 comments on commit 4197fc2

Please sign in to comment.