Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ravescovi committed Dec 1, 2023
1 parent 606b047 commit 4700442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/experiment_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from wei import ExperimentClient

SIMULATE = True
SIMULATE = False


def main() -> None:
Expand Down
2 changes: 1 addition & 1 deletion wei/experiment_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def start_run(
payload_path.expanduser().parent.mkdir(parents=True, exist_ok=True)

with open(workflow_file, "r", encoding="utf-8") as workflow_file_handle:
with open(payload_path.expanduser(), "rb") as payload_file_handle:
with open(payload_path.expanduser(), "w+") as payload_file_handle:
json.dump(payload, payload_file_handle)
params = {
"experiment_id": self.experiment_id,
Expand Down

0 comments on commit 4700442

Please sign in to comment.