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

Can't dynamic import depending on where exec python #2

Open
imyutaro opened this issue Jul 18, 2023 · 0 comments
Open

Can't dynamic import depending on where exec python #2

imyutaro opened this issue Jul 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@imyutaro
Copy link
Owner

use_feature path is relative path where you exec python file, which is occurring bug. Change the way to specify use_feature.

    config = yaml.safe_load(
        """
    use_feature:
      # Path to TmpFeature1. In this case, this file saved as tmp.py, so path is .tmp.TmpFeature1
      - .tmp.TmpFeature1
      - .tmp.TmpFeature2
    feature_params:
      TmpFeature1:
        shift_b_to: 3
      TmpFeature2:
        const: 1000
    """
    )
@imyutaro imyutaro added the bug Something isn't working label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant