mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
In the metadata tool action, ensure job_working_directory exists before
trying to get its path. Otherwise, hierarchical/distributed object stores will be broken.
This commit is contained in:
@@ -70,6 +70,7 @@ class SetMetadataToolAction( ToolAction ):
|
||||
# Store original dataset state, so we can restore it. A separate table might be better (no chance of 'losing' the original state)?
|
||||
incoming[ '__ORIGINAL_DATASET_STATE__' ] = dataset.state
|
||||
input_paths = [DatasetPath( dataset.id, real_path=dataset.file_name, mutable=False )]
|
||||
app.object_store.create(job, base_dir='job_work', dir_only=True, extra_dir=str(job.id))
|
||||
job_working_dir = app.object_store.get_filename(job, base_dir='job_work', dir_only=True, extra_dir=str(job.id))
|
||||
external_metadata_wrapper = JobExternalOutputMetadataWrapper( job )
|
||||
cmd_line = external_metadata_wrapper.setup_external_metadata( dataset,
|
||||
|
||||
Reference in New Issue
Block a user