Skip to content

Commit

Permalink
WIP: debug e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Jun 13, 2024
1 parent f8e2581 commit 196be1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/files/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
# All paired-end fastq objects
res.data.filter(type='data:reads:fastq:paired')

print("All data objects")
print(res.data.all())

# Get specific object by slug
reads = res.data.get('resdk-example-reads')

Expand Down
5 changes: 5 additions & 0 deletions tests/functional/docs/e2e_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def run_tutorial_script(self, script_name, replace_lines=None):
exec("".join(content))

def upload_reads(self, res):
print("Uploading reads")
reads = res.run(
slug="upload-fastq-single",
input={"src": os.path.join(TEST_FILES_DIR, "reads.fastq.gz")},
Expand All @@ -79,6 +80,10 @@ def upload_reads(self, res):
self.set_slug(reads, self.reads_slug)
self.set_slug(reads.sample, self.sample_slug)

print("Uploaded reads")
print(reads)
print("All data")
print(res.data.all())
return reads

def upload_genome(self, res, fasta, slug):
Expand Down

0 comments on commit 196be1c

Please sign in to comment.