pyiron_base
pyiron_base copied to clipboard
bug in project packing
Dear all,
I've recently found a bug in the pack function of the pyiron project. What I wanted to do was to select a few jobs from an existing project, copy them to a new project, and then pack the new project. Here is how I did it:
pr_old = Project('Mg_water_equilibrium')
pr_archive = Project('../../../ptmp/pyiron-publication-template/archive')
job_new = job.copy_to(project=pr_archive)
pr_archive.pack(destination_path="../../../ptmp/pyiron-publication-template/save", copy_all_files=True)
Here the archive project path should be '/cmmc/u/jyang/ptmp/pyiron-publication-template/archive
, however, the pack functions tries to read the files from the folder of the notebook (/cmmc/u/jyang/pyiron/Mg/Ca_in_Mg_0001
) and I get the following error:
@jyang2009 I implemented a fix for this issue in https://github.com/pyiron/pyiron_base/pull/1401 . Can you test it?