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

ShellParser: Prefix output filenames starting with a number #93

Merged
merged 1 commit into from
May 13, 2024

Conversation

sphuber
Copy link
Owner

@sphuber sphuber commented May 13, 2024

Fixes #92

The format_link_label now checks whether the filename starts with a number, in which case the link label is prefixed with aiida_shell_ because Python identifiers cannot start with a number.

The `format_link_label` now checks whether the filename starts with a
number, in which case the link label is prefixed with `aiida_shell_`
because Python identifiers cannot start with a number.
@sphuber
Copy link
Owner Author

sphuber commented May 13, 2024

@bilke

@bilke
Copy link
Contributor

bilke commented May 13, 2024

The aiida_shell_-prefix is perfect. 👍

@sphuber sphuber merged commit 352c309 into master May 13, 2024
11 checks passed
@sphuber sphuber deleted the fix/092/output-filenames-leading-numbers branch May 13, 2024 14:18
@sphuber
Copy link
Owner Author

sphuber commented May 13, 2024

@bilke merged and released with v0.7.1

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.

Output filenames starting with numbers cause an exception since they are not valid Python identifiers
2 participants