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

Tutorial #3 little bug #40

Closed
pducrot opened this issue Oct 11, 2022 · 1 comment
Closed

Tutorial #3 little bug #40

pducrot opened this issue Oct 11, 2022 · 1 comment

Comments

@pducrot
Copy link

pducrot commented Oct 11, 2022

Hi, I noticed a little bug in the cell #9 of tutorial #3 in which opt should be replaced by opts as below.

if not os.path.exists("%s/project_v%s.pkl.gz" % (opts["working_path"], __version__)):
    proj_obj = luna.projects.LocalProject(**opts)
    proj_obj.run()
else:
    print("Reloading project...")
    print()
    proj_obj = LocalProject.load(opts["working_path"], verbosity=3, logging_enabled=True)
@alexandrefassio
Copy link
Contributor

alexandrefassio commented Oct 12, 2022

Thanks, @pducrot, for letting me know about this bug and your interest in LUNA.

However, based on your code, it seems you're repo is not the latest LUNA version.

For example, this line

if not os.path.exists("%s/project_v%s.pkl.gz" % (opts["working_path"], __version__)):

has been replaced by this one

if not os.path.exists(LocalProject.get_project_file(opts["working_path"])):

Could you double-check your repo and the LUNA version are updated?

bests

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

No branches or pull requests

2 participants