diff larch_athena.py @ 5:27015eaf9a78 draft

planemo upload for repository https://github.com/MaterialsGalaxy/larch-tools/tree/main/larch_athena commit 47b59eb1f13fe9f4893acbf9e3e77341d303de73
author muon-spectroscopy-computational-project
date Mon, 20 May 2024 15:34:58 +0000
parents a0d3b0fe0fa3
children 30cdfd70f28d
line wrap: on
line diff
--- a/larch_athena.py	Thu Apr 11 09:01:59 2024 +0000
+++ b/larch_athena.py	Mon May 20 15:34:58 2024 +0000
@@ -162,7 +162,7 @@
 
             for filename in filenames:
                 if len(all_paths) > 1:
-                    key = f"{dirpath}_{filename}"
+                    key = f"{dirpath.replace('/', '_')}_{filename}"
                 else:
                     key = filename
                 filepath = os.path.join(dirpath, filename)