tweag / chainsail

Replica Exchange sampling as-a-service
MIT License
12 stars 1 forks source link

Fix command to download results.zip #460

Closed steshaw closed 1 year ago

steshaw commented 1 year ago

The interactive tty wasn't necessary and caused the zip file to be corrupted.

Fixes #459


Also switched code snippet syntax highlighting from console to bash for slightly better results. The console language is the same as sh-session, and expects the shell session to include command prompts and outputs/results. e.g.

With console:

$ echo hi
hi
$ echo foo | tr f b
boo

With sh-session:

$ echo hi
hi
$ echo foo | tr f b
boo

However, using sh-session is not as convenient to copy-paste because it includes the prompts and outputs. Using bash allows you to paste directly into a terminal. e.g.

With bash:

echo hi
echo foo | tr f b
steshaw commented 1 year ago

The syntax highlighting the difference is a bit subtle. In larger examples, it's more obvious.

I also learned that console is an alias for sh-session. I've always used sh-ession.