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

The card viewer server should load data from METAFLOW_CARD_LOCALROOT location #2120

Closed
svpino opened this issue Oct 25, 2024 · 2 comments · Fixed by #2121
Closed

The card viewer server should load data from METAFLOW_CARD_LOCALROOT location #2120

svpino opened this issue Oct 25, 2024 · 2 comments · Fixed by #2121

Comments

@svpino
Copy link

svpino commented Oct 25, 2024

We can configure the location of the metadata and cards using the METAFLOW_DATASTORE_SYSROOT_LOCAL and METAFLOW_CARD_LOCALROOT.

Unfortunately, the card viewer server doesn't use these environment variables to determine where the metadata is located. Instead, we have to run the command from the same folder where the metadata is.

Consider relying on the env variables so we don't have to change folders whenever we have to run the card server.

An alternative solution is to add a parameter to control the location of the folder. Something like this:

python pipeline.py card server --metadata-dir /.metaflow
@savingoyal
Copy link
Collaborator

thanks for the bug report! we are looking into it

@ch-enfuse
Copy link

ch-enfuse commented Nov 12, 2024

Hi, currently having an issue with this, I saw the changes went in for the latest release (2.12.29) Im still not sure what i need to do to not have the cards create a .metaflow folder where im running the flow from.

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 a pull request may close this issue.

3 participants