Skip to content

Commit

Permalink
update persistence setter
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Kamat <ayush@latch.bio>
  • Loading branch information
ayushkamat committed Oct 21, 2023
1 parent 0e445d0 commit 0cb616d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion latch_cli/snakemake/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ def extract_dag(self):
priorityfiles=set(),
)

self._persistence = Persistence(dag=dag)
try:
self.persistence = Persistence(dag=dag)
except AttributeError:
self._persistence = Persistence(dag=dag)

dag.init()
dag.update_checkpoint_dependencies()
Expand Down

0 comments on commit 0cb616d

Please sign in to comment.