Skip to content

Specialised keyword handling#1

Merged
ZedThree merged 5 commits intomainfrom
specialised_keyword_handling
Jul 24, 2024
Merged

Specialised keyword handling#1
ZedThree merged 5 commits intomainfrom
specialised_keyword_handling

Conversation

@JoelLucaAdams
Copy link
Copy Markdown
Collaborator

  • Add inclusion of identify keyword.
  • Move special keywords (ones that use a : instead of = within a block) to top of file to account for multiple keywords and make it easier to add any additional keywords that may come up.
  • Modify _dump_line function to save keywords that use an equals to always include space before and after but not include a space when special keywords are used. e.g.
# Previously
identify: Photon

# Now
identify:Photon

@JoelLucaAdams JoelLucaAdams requested a review from ZedThree July 23, 2024 15:46
Comment thread src/epydeck/__init__.py Outdated
rewrite to use f-strings

Co-authored-by: Peter Hill <peter.hill@york.ac.uk>
@ZedThree ZedThree merged commit 8dc91f8 into main Jul 24, 2024
@ZedThree ZedThree deleted the specialised_keyword_handling branch July 24, 2024 13: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