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

Fix #512: pegsless error reading media consisting of a single element. #1182

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

blakewalters
Copy link
Contributor

Addresses #512

@blakewalters
Copy link
Contributor Author

blakewalters commented Sep 6, 2024

This issue was caused by erroneously throwing an error when any input between the :start/stop media definition: delimiters or in the material data file was 1 character long. It can be traced back to the fact that the subroutine GET_INPUT_PLUS, used to read media inputs, is heavily based on (i.e. some blocks directly copied from) GET_INPUT, the routine used to read general .egsinp parameters. GET_INPUT allows for the input of a "TITLE" string for which the check on single character input is relevant (I think). But the "TITLE" input is not relevant for media inputs, so I've also stripped all references to this input parameter.

@rtownson rtownson changed the title Fix pegsless error reading media consisting of a single element. Fix #512: pegsless error reading media consisting of a single element. Sep 9, 2024
@rtownson rtownson added the bug label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants