Skip to content

ut.update_template_file(): support "[]()" during option value search#768

Merged
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:template
May 2, 2022
Merged

ut.update_template_file(): support "[]()" during option value search#768
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:template

Conversation

@yunjunz
Copy link
Member

@yunjunz yunjunz commented May 2, 2022

Description of proposed changes

Reminders

  • Pass Codacy code review (green)
  • Pass Circle CI test (green)
  • If modifying functionality, describe changes to function behavior and arguments in a comment below the function declaration.

+ utils.utils1.update_template_file():
   - add "[]()" to the special symbol interpretation list while searching for template option values.
   - use "value2search" for "re.findall()" expression, without changing original value variable, for more robust replace() operation.
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.

1 participant