Project

General

Profile

Bug #7514

incorrect behaviour of the command line options --sam-web-uri and --sam-process-id

Added by Rob Kutschke over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Application
Target version:
Start date:
12/15/2014
Due date:
% Done:

100%

Estimated time:
Spent time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Duration:

Description

The incorrect behaviour is in both art v1_12_02 and v1_12_04.

Consider the command line options:

art -c config.fcl --sam-web-uri=http://abc.html --sam-process-id=1234

This should write an a services.FileCatalogMetadata block that looks like:

services: { 
FileCatalogMetadata: {
processID: 1234
service_type: "FileCatalogMetadata"
}

The error is that it writes
processID : [ 1234 ]

That is, the process id value is written as a sequence of length 1 when it should be written as an atom

The second error occurs when config.fcl contains no source block. In this case the resulting source parameter set looks like:

source : {
fileNames : [ 1234 ]
}

The error is that it does not contain:

module_type : RootInput

In this case it is correct that the fileNames parameter ( which contains the process id) is encoded as a sequence of length 1.

Associated revisions

History

#1 Updated by Christopher Green over 5 years ago

  • Category set to Application
  • Status changed from New to Resolved
  • Assignee set to Christopher Green
  • Target version set to 1.13.00
  • % Done changed from 0 to 100
  • Experiment Mu2e added
  • Experiment deleted (-)
  • SSI Package art added
  • SSI Package deleted ()

Resolved with 07800f6.

#2 Updated by Christopher Green over 5 years ago

  • Target version changed from 1.13.00 to 1.12.05

#3 Updated by Christopher Green over 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF