-
Notifications
You must be signed in to change notification settings - Fork 14
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
Problems in finding images upon reopening focus #226
Comments
Dear Focus-Team, Kind regards |
Hi, |
Hi, However, a bigger problem is the handing of the "GLOBAL" parameters: FOCUS uses some parameters that are local to the image, such as the "imagename" or the "defocus" for that image. These parameters are stored in the image folder in a file called "2dx_image.cfg". But other parameters are global to that project, such as the protein name (e.g., "ABCG2") or the choice of parameters that you want to use for the call of "MotionCor2", such as "- Patch 5 5". These parameters are stored in a file called "2dx_merge.cfg", which resides in the "merge" directory of that project. The file structure then is: /auto/IMAGE001/2dx_image.cfg ===> local parameters /auto/2dx_master.cfg -> ../2dx_master.cfg ===> symbolic link /2dx_master.cfg -> merge/2dx_merge.cfg ===> symbolic link to global parameters /merge/2dx_merge.cfg ===> global parametersIf a script or program then needs any parameter, then FOCUS first searches in the <image_directory>/2dx_image.cfg for entries. If these are not found, then it searches in <image_directory>/../2dx_master.cfg for the remaining entries. Since that ../2dx_master.cfg points always to the correct 2dx_merge.cfg file, it will always find the correct parameter settings. If your file system now doesn't allow symbolic links, then the entire parameter handling in FOCUS has to be re-written. That would be a big mess, where we would have to work deep in the C++ code. You could replace the links /auto/2dx_master.cfg with copies of the file /merge/2dx_merge.cfg but then each time you or a program change a global parameter, you would have to copy that 2dx_merge.cfg file onto 2dx_master.cfg, which is not practical.Since nobody else seems to have had that problem so far: Could you not somehow work with FOCUS on a linux partition? Henning. |
Hi Henning, |
Dear Focus-Team,
we notoriously have the problem in finding the projects image data.
In more detail:
1)
all works fine when we set up a new project.
2)
When we then reopen the project zero images are found although folders and images exist.
What could be the cause of this problem?
Kind regards
Jean-Marc
The text was updated successfully, but these errors were encountered: