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
print(f"Saved calculation results in {alt_file.name}.")
Traceback (most recent call last):
File "/srv/Template_LHCIT_ecloud_buildup/combine.py", line 77, in <module>
with ProtectFile(triplet_path, 'r+b', backup=False, wait=1, eos_url=args.eos_url) as pf:
File "/usr/local/xsuite/miniforge3/lib/python3.10/site-packages/xaux/protectfile.py", line 359, in __exit__
self.mv_temp()
File "/usr/local/xsuite/miniforge3/lib/python3.10/site-packages/xaux/protectfile.py", line 394, in mv_temp
self.restore()
File "/usr/local/xsuite/miniforge3/lib/python3.10/site-packages/xaux/protectfile.py", line 419, in restore
print(f"Saved calculation results in {alt_file.name}.")
AttributeError: 'str' object has no attribute 'name'
alt_file doesn't have attribute name, at least when eos_url is provided, in which case it is a string.
The text was updated successfully, but these errors were encountered:
xaux/xaux/protectfile.py
Line 443 in 94ccf16
alt_file doesn't have attribute name, at least when eos_url is provided, in which case it is a string.
The text was updated successfully, but these errors were encountered: