changing the project directory
Hello, I have recently started a project whose folder was located on my desktop. I would like to move that folder off of my desktop as I've heard that having a messy desktop slows down one's computer. I moved the project directory somewhere else, and this resulted in Phenix not being able to find the project (understandably). So I moved it back to its original location and Phenix could then open the project. So, in an X11 shell, I copied the project folder to the new desired location, then changed the output directory in the Phenix main window to that new path. But when I clicked on the project again, the output directory that is indicated changes back to the original path. Now I am looking through the preferences etc for a way to change the path of the project directory within Phenix and I cannot. Can anyone tell me if this is possible and if so, how do I do it? Thanks, Charisse The Salk Institute for Biological Studies
On Wed, Mar 16, 2011 at 12:15 PM, Charisse Crenshaw
I have recently started a project whose folder was located on my desktop. I would like to move that folder off of my desktop as I've heard that having a messy desktop slows down one's computer. I moved the project directory somewhere else, and this resulted in Phenix not being able to find the project (understandably). So I moved it back to its original location and Phenix could then open the project. So, in an X11 shell, I copied the project folder to the new desired location, then changed the output directory in the Phenix main window to that new path. But when I clicked on the project again, the output directory that is indicated changes back to the original path. Now I am looking through the preferences etc for a way to change the path of the project directory within Phenix and I cannot. Can anyone tell me if this is possible and if so, how do I do it?
It's possible, but not (yet) straightforward. These steps should do it: 1. Make a copy of the entire project folder in the new location (I guess you've already done this) 2. Open the main GUI and delete the old project. This will not wipe out any data in the old location, but it will delete all of the project tracking files that Phenix creates. 3. Select "Import project" from the File menu, and select the new copy - this should restore the project, but with all directory paths altered. For now, the parameter files used for past jobs will contain the original paths, so restoring old jobs will not bring up the full parameters. I hope to fix this at some point. Obviously I need to add a "relocate project" function too. I suspect the warning about a messy desktop came from a Windows user - I've never heard about other OSes having this problem. -Nat
Hi,
I recently moved my project directory from a linux machine to my macbook
pro using the "Import project" menu. So now, in my macbook pro, I can view
all the job history but then when I try to restore a job, phenix tries to
find the input files from the old path and gives an error. It is however
able to load the results correctly and remember the refinement settings. I
have kind of fixed it by editing the file '*_jobid.eff' found under
'projectdirectory/phenix/project_data/' but then I will have to do it for
every job that I have submitted which is a pain.
So is there a simpler way to fix this when you want to move project
directories across platforms? I use the linux cluster to run autobuild
jobs (since my macbook pro can't handle it) but once I get the initial
model, I like to switch to working on my laptop.
Thanks
Sena
On 3/16/11 3:13 PM, "Nathaniel Echols"
On Wed, Mar 16, 2011 at 12:15 PM, Charisse Crenshaw
wrote: I have recently started a project whose folder was located on my desktop. I would like to move that folder off of my desktop as I've heard that having a messy desktop slows down one's computer. I moved the project directory somewhere else, and this resulted in Phenix not being able to find the project (understandably). So I moved it back to its original location and Phenix could then open the project. So, in an X11 shell, I copied the project folder to the new desired location, then changed the output directory in the Phenix main window to that new path. But when I clicked on the project again, the output directory that is indicated changes back to the original path. Now I am looking through the preferences etc for a way to change the path of the project directory within Phenix and I cannot. Can anyone tell me if this is possible and if so, how do I do it?
It's possible, but not (yet) straightforward. These steps should do it:
1. Make a copy of the entire project folder in the new location (I guess you've already done this) 2. Open the main GUI and delete the old project. This will not wipe out any data in the old location, but it will delete all of the project tracking files that Phenix creates. 3. Select "Import project" from the File menu, and select the new copy - this should restore the project, but with all directory paths altered.
For now, the parameter files used for past jobs will contain the original paths, so restoring old jobs will not bring up the full parameters. I hope to fix this at some point. Obviously I need to add a "relocate project" function too.
I suspect the warning about a messy desktop came from a Windows user - I've never heard about other OSes having this problem.
-Nat _______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
Methodist. Leading Medicine. Recognized by U.S.News & World Report as one of America's "Best Hospitals" in 13 specialties. Named to FORTUNE magazine's "100 Best Companies to Work For" list five years in a row Designated as a Magnet hospital for excellence in nursing Visit us at www.methodisthealth.com Follow us at www.twitter.com/MethodistHosp and www.facebook.com/MethodistHospital ***CONFIDENTIALITY NOTICE*** This e-mail is the property of The Methodist Hospital and/or its relevant affiliates and may contain restricted and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender and delete all copies of the message. Thank you.
On Fri, Mar 18, 2011 at 10:47 AM, Rajagopalan, Senapathy
I recently moved my project directory from a linux machine to my macbook pro using the "Import project" menu. So now, in my macbook pro, I can view all the job history but then when I try to restore a job, phenix tries to find the input files from the old path and gives an error. It is however able to load the results correctly and remember the refinement settings. I have kind of fixed it by editing the file '*_jobid.eff' found under 'projectdirectory/phenix/project_data/' but then I will have to do it for every job that I have submitted which is a pain. So is there a simpler way to fix this when you want to move project directories across platforms?
Not yet, but it's on my short-term to-do list. I underestimated how often users would want to move projects around, and I've been wary of possible side effects from re-writing files automatically, but it's not difficult to implement. As a temporary solution, I will send you a script later today to fix the job files all at once. -Nat
participants (3)
-
Charisse Crenshaw
-
Nathaniel Echols
-
Rajagopalan, Senapathy