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

update file_handler.clean_path_to_sub_program method to be more flexible #363

Open
jiangliu23 opened this issue Nov 6, 2019 · 1 comment
Assignees

Comments

@jiangliu23
Copy link

clean_path_to_sub_program would have an option to handle both component files (with underscore) and top level flow files (without underscore)
code below is an example of how origen tester plugin may use this method.

Try a regular component name first with leading _, then try for without

file = Origen.file_handler.clean_path_to_sub_program(file) ||
Origen.file_handler.clean_path_to_sub_program(file, with_underscore: false)

@redxeth
Copy link
Member

redxeth commented Nov 7, 2019

@jiangliu23 ok i'll take this one on per our convo today.

@redxeth redxeth self-assigned this Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants