Skip to content

Commit

Permalink
Run tois v0.2.0 test (#23)
Browse files Browse the repository at this point in the history
* run fix

* run toi fix

* Fix missing notebook issue

* add batch of completed notebooks

* setup for website build
  • Loading branch information
avivajpeyi committed Sep 10, 2020
1 parent 570ec3e commit d0aa7e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.1.1
VERSION=0.2.0
FILES=$(wildcard notebooks/${VERSION}/*.ipynb)
NOTEBOOKS = $(foreach fn, $(FILES), docs/$(basename ${fn}).html)

Expand Down
4 changes: 2 additions & 2 deletions run_toi.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def create_toi_notebook_from_template_notebook(
txt = txt.replace("{{{VERSIONNUMBER}}}", f"'{version}'")
txt = re.sub(r"toi_num = [0-9]+", f"toi_num = {toi_number}", txt)
if quickrun:
txt = re.sub(r"TUNE = [0-9]+", f"TUNE = {2}", txt)
txt = re.sub(r"DRAWS = [0-9]+", f"DRAWS = {2}", txt)
txt = re.sub(r"TUNE = [0-9]+", f"TUNE = {10}", txt)
txt = re.sub(r"DRAWS = [0-9]+", f"DRAWS = {10}", txt)
txt = re.sub(r"CHAINS = [0-9]+", f"CHAINS = {1}", txt)
else:
txt = re.sub(r"TUNE = [0-9]+", f"TUNE = {2000}", txt)
Expand Down

0 comments on commit d0aa7e3

Please sign in to comment.