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

Remove endlines after the last include #352

Closed
wants to merge 2 commits into from
Closed

Conversation

jmcarcell
Copy link
Contributor

@jmcarcell jmcarcell commented Aug 8, 2024

Fix a warning that was introduced in AIDASoft/podio#645 that appears when generating the EDM4hep files:

Warning: unable to include ' '
Warning: unable to include ' '

This happens because somewhere there is a split('\n') and then one gets a line with one character.

Some reestructuring (not having lines with a single ") are not needed but for consistency they are done as it is done in the rest of edm4hep.yaml.

BEGINRELEASENOTES

  • edm4hep.yaml: Remove endlines after the last include

ENDRELEASENOTES

@andresailer
Copy link
Collaborator

Shouldn't something like this in podio

-  for include in (inc for inc in includes if inc):
+  for include in (inc for inc in includes if inc.strip()):

be done?

@tmadlener
Copy link
Contributor

I agree with Andres approach here. This should be fixed in podio. However, I can't reproduce the issue locally for some reason. Is this still happening? Resp. is it OS / python version specific?

@tmadlener
Copy link
Contributor

Obsolete with AIDASoft/podio#670

@tmadlener tmadlener closed this Sep 10, 2024
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