Project

General

Profile

Feature #25151

OTS_mfPlugin -- need for more robust filename stripping

Added by Ron Rechenmacher 30 days ago. Updated 24 days ago.

Status:
Reviewed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/29/2020
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

For artdaq_mfextensions/mfextensions/Destinations/OTS_mfPlugin.cc...
Some packages are compiled in directory structure with /srcs/ and others with /src/.
It should be nice to have a way of stripping both of those efficiently.
This has been discussed and there should be a change from stripping above the strstr match
to stripping above the strstr match and then, if also to the next '/' character if the
strstr match string does not end with '/'

History

#1 Updated by Ron Rechenmacher 29 days ago

  • Tracker changed from Bug to Feature

#2 Updated by Ron Rechenmacher 29 days ago

  • Status changed from New to Resolved

I implemented that code change and tested it.
Note: when testing, the code used (i.e. mu2e) is expected to have #define TRACEMF_USE_VERBATIM
defined before #include "TRACE/tracemf.h" (as mu2e code does).

#3 Updated by Eric Flumerfelt 24 days ago

  • Status changed from Resolved to Reviewed
  • Co-Assignees Eric Flumerfelt added

Code review complete. Tested using mf_simple, updated to use OTS plugin.

Also available in: Atom PDF