[phenixbb] Migrating all phenix projects to a new location without breaking all of the file paths.

Billy Poon BKPoon at lbl.gov
Mon Mar 15 10:53:27 PDT 2021


Hi Paul,

Depending on how many projects you have, you can also copy the project
directories to the new location and then import the projects in the GUI.
In the menu bar, there is a Projects menu item and under that menu, there
is an "Import project" item. You will want to remove the existing projects
from the database first.

If you have many projects, there is a command-line tool called
"phenix.import_project". The arguments are the project directory and the
Phenix GUI database directory. On macOS, the Phenix GUI database is located
in ~/Library/Preferences/Phenix. On linux, the database is in ~/Phenix. And
on Windows, it is ~\Application Data\Phenix. Before doing anything, you
should back up this directory. Let me know if you need help with setting up
a script to import many projects. Thanks!

--
Billy K. Poon
Research Scientist, Molecular Biophysics and Integrated Bioimaging
Lawrence Berkeley National Laboratory
1 Cyclotron Road, M/S 33R0345
Berkeley, CA 94720
Fax: (510) 486-5909
Web: https://phenix-online.org


On Fri, Mar 12, 2021 at 10:17 AM Robert Munoz <RobertM at lbl.gov> wrote:

> HI Paul,
>
> You can move files under Phenix Projects / Move Project. Perhaps this will
> suffice.
>
> Robert Munoz
>
> On Fri, Mar 12, 2021 at 8:21 AM Leonard,Paul G <PLeonard1 at mdanderson.org>
> wrote:
>
>> Hi,
>>
>>
>>
>> Does anyone have instructions I can follow for how to move all of my
>> phenix directories to a new location without messing up all of the file
>> paths in each project.
>>
>>
>>
>> Our IT department wants to relocate files on our server which will change
>> all of the top directory locations to something new so before that happens
>> I think there is a way I can have a file that will allow me to recreate all
>> of the phenix projects in the GUI with the new file paths but I can’t
>> recall how to do it.
>>
>>
>>
>> Thanks in advance for your assistance.
>>
>> Best wishes,
>>
>>
>>
>> Paul
>>
>>
>>
>> Institute Senior Research Scientist
>>
>> MD Anderson Cancer Center
>>
>> 1881 East Road
>>
>> Houston TX 77054
>>
>> USA
>>
>>
>>
>> Tel: 732 397 8539
>>
>> email: pleonard1 at mdanderson.org
>>
>>
>> The information contained in this e-mail message may be privileged,
>> confidential, and/or protected from disclosure. This e-mail message may
>> contain protected health information (PHI); dissemination of PHI should
>> comply with applicable federal and state laws. If you are not the intended
>> recipient, or an authorized representative of the intended recipient, any
>> further review, disclosure, use, dissemination, distribution, or copying of
>> this message or any attachment (or the information contained therein) is
>> strictly prohibited. If you think that you have received this e-mail
>> message in error, please notify the sender by return e-mail and delete all
>> references to it and its contents from your systems.
>> _______________________________________________
>> phenixbb mailing list
>> phenixbb at phenix-online.org
>> http://phenix-online.org/mailman/listinfo/phenixbb
>> Unsubscribe: phenixbb-leave at phenix-online.org
>
> _______________________________________________
> phenixbb mailing list
> phenixbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/phenixbb
> Unsubscribe: phenixbb-leave at phenix-online.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/phenixbb/attachments/20210315/b9e9dbf9/attachment-0001.htm>


More information about the phenixbb mailing list