Skip to content
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

bug in project packing #1402

Closed
jyang2009 opened this issue Mar 28, 2024 · 1 comment · Fixed by #1401
Closed

bug in project packing #1402

jyang2009 opened this issue Mar 28, 2024 · 1 comment · Fixed by #1401
Labels
bug Something isn't working

Comments

@jyang2009
Copy link

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:
Screen Shot 2024-03-28 at 3 57 25 PM

@jyang2009 jyang2009 added the bug Something isn't working label Mar 28, 2024
@jan-janssen jan-janssen transferred this issue from pyiron/pyiron_atomistics Mar 28, 2024
@jan-janssen jan-janssen linked a pull request Mar 28, 2024 that will close this issue
@jan-janssen
Copy link
Member

@jyang2009 I implemented a fix for this issue in #1401 . Can you test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants