remove

jwst.associations.asn_edit.remove(asn, filenames, ignore)[source]

Remove the named files from the association.

Parameters:
asnAssociation

Association to modify.

filenameslist of str

The filenames to be removed from the association.

ignorebool

Ignore the filename suffix when matching filenames if True.

Returns:
Association

The modified association, which is the input modified in-place.