Skip to content

Return analysis output file names

Antonello Pellecchia requested to merge feature/return-output-files into main

Description

Adds the feature to return the output file names from the functions that analuyze a scan or create configuration files. This is useful for the QC7 software development.

For analysis functions and the functions that dumps the VFAT parameters from the database, the return variable is a string with the path of the output file. For the functions to create VFAT or GBT configurations, the return variable is a pandas Series with the fed, slot and oh numbers as keys and the output file paths as values. Example:

fed   slot  oh
1     1     0     ~/gemdata/gbtPhaseScan/fed1-slot1/config-oh0.cfg
2     7     1     ~/gemdata/gbtPhaseScan/fed2-slot7/config-oh1.cfg

Related Issue

Addresses issue #46 (closed).

How Has This Been Tested?

Tested in the QC7 setup.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
Edited by Antonello Pellecchia

Merge request reports