Skip to content

Commit

Permalink
add tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vyokky committed Mar 17, 2024
1 parent 273bebf commit 070b311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ufo/experience/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,13 @@ def create_logs(self) -> list:
**{
"step_%s" % step: {
"response": self.response[step],
"is_first_action": local_step == 1,
"screenshot": {
version: self.load_screenshot(step, "" if version == "raw" else version)
for version in ["raw", "selected_controls"]
}
}
for step in partition
for local_step, step in enumerate(partition)
}
}
self.logs.append(partitioned_logs)
Expand Down Expand Up @@ -150,7 +151,6 @@ def get_request_partition(self) -> list:
return request_partition



def extract_number(filename):
# Define a regular expression pattern to extract numbers
pattern = r'action_step(\d+)\.png'
Expand Down

0 comments on commit 070b311

Please sign in to comment.