Skip to content

Commit a8f4746

Browse files
committed
Fix CI
1 parent 3f955ce commit a8f4746

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

docs/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ B2Z_VERSION:=$(shell PYTHONPATH=${PYPATH} \
99
CASTS=_static/vcf2zarr_convert.cast\
1010
_static/vcf2zarr_explode.cast
1111

12+
ASCIINEMA_ARGS=-c "env PS1=\\$$\\ bash --noprofile --norc"
1213

1314
BUILDDIR = _build
1415

@@ -36,15 +37,15 @@ sample.vcf.gz:
3637

3738
_static/vcf2zarr_convert.cast: sample.vcf.gz
3839
rm -fR sample.vcz
39-
asciinema-automation -d cast_scripts/vcf2zarr_convert.sh $@
40+
asciinema-automation -aa '$(ASCIINEMA_ARGS)' -d cast_scripts/vcf2zarr_convert.sh $@
4041
cat _static/vcf2zarr_convert.log
4142
asciinema play _static/vcf2zarr_convert.cast
4243
cp -R sample.vcz vcf2zarr
4344

4445
# TODO rename this cast
4546
_static/vcf2zarr_explode.cast: sample.vcf.gz
4647
rm -Rf sample.icf sample.vcz
47-
asciinema-automation -d cast_scripts/vcf2zarr_explode.sh $@
48+
asciinema-automation -aa '$(ASCIINEMA_ARGS)' -d cast_scripts/vcf2zarr_explode.sh $@
4849
cat _static/vcf2zarr_explode.log
4950
asciinema play _static/vcf2zarr_explode.cast
5051
cp -R sample.icf sample.vcz vcf2zarr

docs/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
#/bin/bash
1+
#!/usr/bin/env bash
22

33
# Jupyter-build doesn't have an option to automatically show the
44
# saved reports, which makes it difficult to debug the reasons for
55
# build failures in CI. This is a simple wrapper to handle that.
66

77
REPORTDIR=_build/html/reports
88

9-
jupyter-book build -Wn --keep-going .
9+
jupyter-book build -W -n --keep-going .
1010
RETVAL=$?
1111
if [ $RETVAL -ne 0 ]; then
1212
if [ -e $REPORTDIR ]; then

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
asciinema-automation
22
bash_kernel
3-
jupyter-book
3+
jupyter-book<2
44
sphinx-click

docs/vcf2zarr/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ of these arrays is then stored hierarchically within
6262
these directories:
6363

6464
```{code-cell}
65-
tree sample.vcz
65+
find sample.vcz -maxdepth 2 -type d | sort
6666
```
6767

6868
You can get a better idea of what's being stored and the sizes

0 commit comments

Comments
 (0)