You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
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:
![Screen Shot 2024-03-28 at 3 57 25 PM](https://private-user-images.githubusercontent.com/21110790/317775140-fdb2db15-abfd-4980-837a-4d8c7c0b34eb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3NjAxODksIm5iZiI6MTcyMDc1OTg4OSwicGF0aCI6Ii8yMTExMDc5MC8zMTc3NzUxNDAtZmRiMmRiMTUtYWJmZC00OTgwLTgzN2EtNGQ4YzdjMGIzNGViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEyVDA0NTEyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYyYjA4ZWM5MjY5MDNiNjUxNGI2NWM2MTA3MWQ2NDY2YmI1NTM2MWY4ZmFjN2Q3Y2RkOGNhYThiYmQxYzUyMzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.r7AmTmCdKM1aq7wAyjopR3hLrCY-zwRwoW-WgCFXgPc)
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:The text was updated successfully, but these errors were encountered: