Skip to content

Add comments to metadata files - #162

Open
mkavulich wants to merge 2 commits into
ESCOMP:mainfrom
mkavulich:fix_metadata_files_comments
Open

mkavulich wants to merge 2 commits into
ESCOMP:mainfrom
mkavulich:fix_metadata_files_comments

Conversation

@mkavulich

Copy link
Copy Markdown
Collaborator

Description

I recently noticed that the Metadata files do not contain the comments for individual standard name entries. This PR fixes that issue by adding the appropriate logic to tools/write_standard_name_table.py

Issues

Resolves #158

sec_comment = ''
sec_comment = re.sub(' +', ' ', sec_comment)
for line in sec_comment.split('\\n'):
snl.write(f'{line.strip()}\n')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for replacing all this gibberish with something that is actually readable.

@svahl991 svahl991 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@nusbaume nusbaume left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @mkavulich!

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.

Comments do not appear alongside the standard name definitions in either Metadata file

4 participants