Skip to content

warn missing x_scatter in read simulated spectrum instead of exception#127

Open
jebuss wants to merge 1 commit into
masterfrom
hotfix_old_corsika_version
Open

warn missing x_scatter in read simulated spectrum instead of exception#127
jebuss wants to merge 1 commit into
masterfrom
hotfix_old_corsika_version

Conversation

@jebuss
Copy link
Copy Markdown
Member

@jebuss jebuss commented Jun 14, 2019

warn missing x_scatter in read simulated spectrum instead of raising an exception. This is needed for old MMCs corsikas who do not have this attribute

…an exception. This is needed for old MMCs corsikas who do not have this attribute
@jebuss jebuss requested a review from maxnoe June 14, 2019 09:58
Copy link
Copy Markdown
Member

@maxnoe maxnoe left a comment

Choose a reason for hiding this comment

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

No, the idea was that the new files contain a column with the info and for the old files we just add the attribute.

As this information is needed, I think raising an error is better when it's not there.

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