Skip to content
Snippets Groups Projects
Commit 4053f941 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

datafind.DataCache: match to all subtypes when not set

parent 52c82752
No related branches found
No related tags found
1 merge request!41DAG Workflow Overhaul + OSG DAG support
......@@ -48,7 +48,7 @@ class DataFileMixin:
return T050017_filename(ifos, self.description(svd_bin, subtype), span, self.extension)
def file_pattern(self, svd_bin=None, subtype=None):
return f"*-*{self.description(svd_bin, subtype)}-*-*{self.extension}"
return f"*-*{self.description(svd_bin, subtype)}*-*-*{self.extension}"
def directory(self, root=None, start=None):
path = self.name.lower()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment