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

Outdated documentation on custom components page #798

Open
picousse opened this issue Jan 18, 2024 · 2 comments
Open

Outdated documentation on custom components page #798

picousse opened this issue Jan 18, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@picousse
Copy link

I have using a custom component, based on:

https://fondant.ai/en/latest/components/components/#custom-components

dataset = dataset.apply(
    component_dir="components/biopython",
    arguments={
        "sequences": "Sequence"
    }
)

But this errors:

image

@RobbeSneyders
Copy link
Member

Thanks @picousse

This is outdated in the documentation. You can provide it as a positional argument instead:

dataset = dataset.apply(
    "components/biopython",
    arguments={
        "sequences": "Sequence"
    }
)

@RobbeSneyders RobbeSneyders changed the title Custom components. error Outdated documentation on custom components page Jan 18, 2024
@RobbeSneyders RobbeSneyders added the documentation Improvements or additions to documentation label Jan 18, 2024
@picousse
Copy link
Author

Just found it myself as well. thx for the swift response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Backlog
Development

No branches or pull requests

2 participants