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

Avoid list comprehension #45

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Avoid list comprehension #45

merged 1 commit into from
Aug 11, 2023

Conversation

kjvbrt
Copy link
Contributor

@kjvbrt kjvbrt commented Aug 11, 2023

No description provided.

@kjvbrt
Copy link
Contributor Author

kjvbrt commented Aug 11, 2023

Fails expected because of the recent changes to k4run, see key4hep/k4FWCore#134.

@kjvbrt kjvbrt merged commit c603544 into HEP-FCC:main Aug 11, 2023
1 check failed
@kjvbrt kjvbrt deleted the tests branch August 11, 2023 14:25
@@ -24,7 +24,8 @@
DETECTORS = [
'Detector/DetFCCeeIDEA-LAr/compact/FCCee_DectMaster.xml',
]
GEOSERVICE.detectors = [os.path.join(DETECTORPATH, d) for d in DETECTORS]
for det in DETECTORS:
GEOSERVICE.detectors = [os.path.join(DETECTORPATH, det)]
Copy link
Contributor

Choose a reason for hiding this comment

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

The list will always contain only one element there

]
# prefix all xmls with path_to_detectors
for det in detectors:
geoservice.detectors = [os.path.join(path_to_detectors, det)]
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

@kjvbrt
Copy link
Contributor Author

kjvbrt commented Aug 15, 2023

Fixed in #47 .

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.

2 participants