We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm trying to run Reel under linux using the MacOS instructions, but it fails due to windows-style path names:
Traceback (most recent call last): File "/home/pflueger/work/Reel/Reel1.0/Refinement_evaluator_ver1.0.py", line 1117, in <module> main() File "/home/pflueger/work/Reel/Reel1.0/Refinement_evaluator_ver1.0.py", line 1112, in main ui = mainWindow() File "/home/pflueger/work/Reel/Reel1.0/Refinement_evaluator_ver1.0.py", line 76, in __init__ self.miw = MultiImageWidget(n_images=3,labels=('Observed','Calculated','Scale','Residual','Scale')) File "/home/pflueger/work/Reel/Reel1.0/_lib/ReelPlotWidgets.py", line 71, in __init__ im = np.fromfile('_lib\icons\Main.raw', dtype='ubyte').reshape(230,230).astype(float) FileNotFoundError: [Errno 2] No such file or directory: '_lib\\icons\\Main.raw'
You can make your program more portable by using https://docs.python.org/3/library/pathlib.html instead of explicit paths. Maybe you could make your program even more portable by using https://docs.python.org/3/library/importlib.html#module-importlib.resources .
Cheers,
Mika
The text was updated successfully, but these errors were encountered:
Hi Mika
I think I solved the issue now by implementing os.path.abspath. I got my mac-using colleague to help me debug.
-Frederik
Sorry, something went wrong.
No branches or pull requests
Hi,
I'm trying to run Reel under linux using the MacOS instructions, but it fails due to windows-style path names:
You can make your program more portable by using https://docs.python.org/3/library/pathlib.html instead of explicit paths. Maybe you could make your program even more portable by using https://docs.python.org/3/library/importlib.html#module-importlib.resources .
Cheers,
Mika
The text was updated successfully, but these errors were encountered: