-
Notifications
You must be signed in to change notification settings - Fork 196
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
TIGRE installed with pip fails to load_head_phantom #493
Comments
Yes, I know this issue could be fixed simply by copy-pasting some files. I just want to report that such issue exists. |
Thanka for the report! This is an unintended bug from recent change to pip install. I theory, "python setup.py install" should still work and do it correctly. Trying to fix this at the moment. |
Thank you for the report. I could reproduce the phenomena, and found that It can be fixed if
I think there must be a more elegant way, though... |
@tsadakane Ideally we slowly deprecate using #492 is vague, but it has only started happening since the pip install update for me, and some others have also reported the issue, but I am not 100% sure if its caused by it, I will do tests this week. |
This has been now added to the latest commit, once I can verify it works in a couple of other machines I can close the issue |
Expected Behavior
tigre.utilities.sample_loader.load_head_phantom shall reutrn a shepp-logan head phantom.
Actual Behavior
an FileNotFoundError was thrown.
the Error info was:
FileNotFoundError: [Errno 2] No such file or directory: '/path/to/anaconda3/envs/TIGRE/lib/python3.11/site-packages/tigre/utilities/./../../data/head.mat'
Code to reproduce the problem (If applicable)
any python demo.
The TIGRE source was downloaded directly from github, at commit 0638104 .
TIGRE was compiled and installed with
pip install .
.Specifications
The text was updated successfully, but these errors were encountered: