Skip to content

Commit

Permalink
Fix test_loop and relax python version (#7)
Browse files Browse the repository at this point in the history
* fix test_loop

* relax python version

* restrict orbax version
  • Loading branch information
cgarciae authored Mar 16, 2023
1 parent f83c7f9 commit ce3a24e
Show file tree
Hide file tree
Showing 3 changed files with 507 additions and 862 deletions.
2 changes: 2 additions & 0 deletions ciclo/loops/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ def test_loop(
if tasks is None:
tasks = {}

# create a copy of tasks to avoid modifying the original
tasks = tasks.copy()
additionl_tasks: Dict[ScheduleLike, CallbackOrList] = {}
named_tasks: Dict[str, CallbackOrList] = {}
for schedule in list(tasks.keys()):
Expand Down
Loading

0 comments on commit ce3a24e

Please sign in to comment.