Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e02/schema/mib2x_auto_Schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"DEBUG":
{
"type": "integer",
"default": 1
"default": 0
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions e02/templates/mib2x-auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
workflows.diamond.ac.uk/science-group-imaging: "true"
annotations:
workflows.argoproj.io/title: ePSIC mib automatic conversion
workflows.argoproj.io/title: ePSIC mib Batch conversion
workflows.argoproj.io/description: |
Convert MIB file to hdf5/hspy files
workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows"
Expand Down Expand Up @@ -126,14 +126,14 @@ spec:
logging.append('\nThe following path exists: %s\nskipping creation of folder\n' %dest_path)
else:
logging.append('\nThe following path does not exists: %s\nTherefore creating this folder now...\n' %dest_path)
os.mkdir(dest_path)
os.makedirs(dest_path)

os.chdir(dest_path)
logging.append('***\nsearching destination path for already converted files: %s\n***' % dest_path)

#ToDO wrap the rest of the function within this as means no other files have been created
if not os.path.exists(dest_path):
os.mkdir(dest_path)
os.makdirs(dest_path)
logging.append('the following folder has been created: %s' % dest_path)

for num, file in enumerate(sorted(list(glob.glob('*/**data.hdf5*')))):
Expand Down
2 changes: 1 addition & 1 deletion e02/templates/mib2x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
workflows.diamond.ac.uk/science-group-imaging: "true"
annotations:
workflows.argoproj.io/title: ePSIC mib conversion
workflows.argoproj.io/title: ePSIC single mib conversion
workflows.argoproj.io/description: |
Convert MIB file to hdf5/hspy files
workflows.diamond.ac.uk/repository: "https://github.com/DiamondLightSource/imaging-workflows"
Expand Down