Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command formatting issue #16

Open
mafirenze opened this issue Dec 1, 2024 · 0 comments
Open

Command formatting issue #16

mafirenze opened this issue Dec 1, 2024 · 0 comments

Comments

@mafirenze
Copy link

Thank you for making all these webinars available they are incredibly helpful!

A small issue I found:
In the tutorial: bart-webinars/webinar4/demo /demo.ipynb

All the commands that use rss give an error in my version and in the binder interactive version.
For example the line: "im_rss = bart.bart(1, 'rss $(bart bitmask 3)', im_coil)",

give an error like Usage: rss bitmask
ERROR: cmdline: too few or too many arguments
Command exited with error code -6.

To fix this I found that separating the command in two lines, this way, works :
num = !bart bitmask 3
im_rss = bart.bart(1, 'rss {}'.format(num[0]), im_coil)

I'm not sure why this is but may be something related to newer python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant