Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert metadata Instrument.site to free string instead of enum #2616

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Sep 11, 2024

I was creating the configuration for prod6 and changed the site name from CTA-North to CTAO-North and it resulted in an error.

I think having a fixed list of sites here is too restrictive and just using a free string is fine.

This comment has been minimized.

Copy link

Passed

Analysis Details

0 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage 100.00% Coverage (94.20% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.70% Estimated after merge)

Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs

View in SonarQube

@maxnoe maxnoe added this to the 0.22.0 milestone Sep 11, 2024
Copy link
Contributor

@kosack kosack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, fine with me

@maxnoe maxnoe merged commit 80914fb into main Sep 12, 2024
13 checks passed
@maxnoe maxnoe deleted the site_string branch September 12, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants