Skip to content

Commit

Permalink
feat: v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyworkman committed Mar 11, 2022
1 parent 34dc99b commit 4cacae4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ Ingest TBs of genomic files and call arbitrary programs...

```
from latch import task
from latch.types import LatchDirectory, BamFile
from latch.types import LatchDir, BamFile
@task()
def samtools_sort_tsk(
bam_file: BamFile,
output_dir: LatchDirectory = LatchDirectory("latch://sorted_output"),
output_dir: LatchDir= LatchDir("latch://sorted_output"),
) -> FlyteDirectory:
local_output = Path("/root/output")
Expand All @@ -89,10 +89,10 @@ Scale your logic to curated high-performance and GPU-enabled computing instances

```
from latch.tasks import large_gpu_task
from latch.types import LatchDirectory, BamFile
from latch.types import LatchDir, LatchFile
@large_gpu_task() # 4 GPU, 32 CPU, 256 RAM
def train_protein_model(samples: LatchDirectory) -> LatchFile:
def train_protein_model(samples: LatchDir) -> LatchFile:
...
```

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name="latch",
version="0.1.0",
version="0.3.0",
author_email="kenny@latch.bio",
description="latch sdk",
packages=find_packages(),
Expand Down

0 comments on commit 4cacae4

Please sign in to comment.