Skip to content
Snippets Groups Projects
Commit 3469203d authored by Duncan Meacher's avatar Duncan Meacher
Browse files

gstlal_idq_trigger_gen: set file output format to what iDQ expects

parent 71144f41
No related branches found
No related tags found
No related merge requests found
......@@ -226,8 +226,9 @@ class MultiChannelHandler(simplehandler.Handler):
# NOTE
# This method should only be called by an instance that is locked.
# Use T050017 filenaming convention.
fname = '%s-%s-%d-%d.%s' % (self.instrument, self.description, self.last_save_time, self.cadence, "trg")
path = os.path.join(self.out_path, str(fname.split("-")[2])[:5])
tag = '%s-%s' % (self.instrument[:1], self.description)
fname = '%s-%d-%d.%s' % (tag, self.last_save_time, self.cadence, "trg")
path = os.path.join(self.out_path, tag, tag+"-"+str(fname.split("-")[2])[:5])
fpath = os.path.join(path, fname)
tmpfile = fpath+"~"
try:
......
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