Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasraabe committed May 19, 2024
1 parent 2ac3147 commit 7b2c0af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pytask_stata/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def pytask_collect_task(

mark = _parse_stata_mark(mark=marks[0])
script, options = stata(**marks[0].kwargs)

obj.pytask_meta.markers.append(mark)

# Collect the nodes in @pytask.mark.julia and validate them.
Expand Down Expand Up @@ -190,7 +189,5 @@ def pytask_collect_task(
def _parse_stata_mark(mark: Mark) -> Mark:
"""Parse a Stata mark."""
script, options = stata(**mark.kwargs)

parsed_kwargs = {"script": script or None, "options": options or []}

return Mark("stata", (), parsed_kwargs)

0 comments on commit 7b2c0af

Please sign in to comment.