-
Notifications
You must be signed in to change notification settings - Fork 378
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
Feature Request: Recurrsively track the imported source files #812
Comments
I agree this would be a good feature. I'm not that familiar with dependency gathering, but I think that it shouldn't be too complicated. In general, I would recommend putting all your sources in a git repository. Then, sacred can track the state of that git repository. But even then, it could be that you import another custom package in your code that depends on other things that are currently not tracked. Let's add this feature as an option for dependency gathering! |
Try: from sacred import SETTINGS
SETTINGS["DISCOVER_DEPENDENCIES"] = "sys" Sacred supports four dependency gathering strategies:
|
@Qwlouse @thequilo |
I have three source files:
# Some util functions
When I run the
main.py
, the output isBut the
utils.py
is not included.I think recursively tracking the imported source files is a general way to organize my experiments. But now I have to manually add the
utils.py
byex.add_source_file("utils.py")
, which is not quite convenient.The text was updated successfully, but these errors were encountered: