Skip to content

Expose a flag to delete assets from VAST after upload #142

@bruno-f-cruz

Description

@bruno-f-cruz

from @jtyoung84

"remove_source_folders": Task(skip_task=False)

Example:

upload_job_configs_v2 = UploadJobConfigsV2(
    job_type=job_type,
    project_name="Ephys Platform",
    platform=Platform.ECEPHYS,
    modalities=[Modality.ECEPHYS],
    subject_id="655019",
    acq_datetime=acq_datetime,
    tasks={
        "modality_transformation_settings": modality_transformation_settings,
        "gather_preliminary_metadata": gather_preliminary_metadata,
        "remove_source_folders": Task(skip_task=False)
    },
)

IT should be noted that this should already work out of the box by adding this information to clabe.yml. Nevertheless, the use-case seems general enough to just add this as something the class can do by the user instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions