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

[WIP] Distribute config file from primary location #739

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ethanwhite
Copy link
Member

We had two copies of deepforest_config.yml. The first was the main copy in the root directory of the repo. The second was a copy that got distributed with the package. This is error prone and unnecessary since we can package directly from the root file.

Unless I'm misunderstanding #531 I think this should address it.

We had two copies of deepforest_config.yml. The first was the main copy
in the root directory of the repo. The second was a copy that got
distributed with the package. This is error prone and unnecessary since
we can package directly from the root file.

Closes weecology#531
@ethanwhite ethanwhite changed the title Distribute config file from primary location [WIP] Distribute config file from primary location Aug 11, 2024
@ethanwhite
Copy link
Member Author

This is currently broken because we're not actually testing against the installed package, we're testing against the source code, which doesn't have the data included. This is part of the same problem as #562. I'm going to open an issue to discuss the general solution

@bw4sz
Copy link
Collaborator

bw4sz commented Oct 28, 2024

This relates to a broader conversation that I would love to move to hydra, add argparse support for config. This is a 2.0 kinda thing, there may be a more short term patch here for the immediate need.

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.

2 participants