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
The classmethod load_external is overwritten by the AMS interface without the jobname option. This prevents loading from external calculations where the folder name does not match the job name.
The text was updated successfully, but these errors were encountered:
And another detail about this I noticed: With the current setup PLAMS cannot load a standard GUI job. The rkf files are under jobname.results and not in the same directory as for PLAMS. Perhaps we can fix this in one effort.
AMSJob.load_external("jobname.results") or AMSJob.load_external("jobname.results/ams.rkf") should both work for jobs run through the GUI. I use it all the time. It should then use "jobname" as the job name.
To set a custom name, you could just assign job.name = "mycustomname" on the next line, or is there some special reason to do it in the constructor?
Ok, that is easier than I imagined 👍 Did not think to test the .results folder...
Special reason was to be able to load jobs from non-PLAMS runs, especially from people not using PLAMS. Workaround is to manually create symlinks, but that is annoying...
The classmethod
load_external
is overwritten by the AMS interface without thejobname
option. This prevents loading from external calculations where the folder name does not match the job name.The text was updated successfully, but these errors were encountered: