LUNA icon indicating copy to clipboard operation
LUNA copied to clipboard

Tutorial #3 little bug

Open pducrot opened this issue 2 years ago • 1 comments

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)

pducrot avatar Oct 11 '22 12:10 pducrot

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

alexandrefassio avatar Oct 12 '22 11:10 alexandrefassio