Replies: 4 comments 11 replies
-
Well, that's a confusing error. This is in the tsinfer docs, so I'll transfer this over to tsinfer. But, I've just tried out the code in the tutorial and not got the same problem. Maybe first make sure that tsinfer is up to date? And then check the file's in the directory your python is in, like:
Another check is to go to the terminal and check the
Let us know what happens? |
Beta Was this translation helpful? Give feedback.
-
Ah-ha! I think the answer is simple - when I do that in zsh I get:
... which is almost the same error. However - the code chunk starting
is supposed to be run in python, not the shell. Is this the problem? We haven't said explicitly that we're switching back to python here, I guess that we're expecting the user to pick up on the lack of |
Beta Was this translation helpful? Give feedback.
-
I've changed the tutorial wording @chlangley - could you see if it's clearer now that this needs to be run within python, rather than on the command line? |
Beta Was this translation helpful? Give feedback.
-
Will do
… On Sep 29, 2021, at 3:05 PM, Yan Wong ***@***.***> wrote:
I've changed the tutorial wording @chlangley - could you see if it's clearer now that this needs to be run within python, rather than on the command line?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Hello:
Just trying to work through the Example in the documentation.
When I get to the tskit.load():
source = tskit.load("simulation-source.trees")
inferred = tskit.load("simulation.trees")
I get this
"zsh: unknown file attribute: i"
I trust I am ignorant of a simple python/tskit feature.
Thanks for any help.
Cheers,
Chuck
Beta Was this translation helpful? Give feedback.
All reactions