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

Analytics not downloaded. #53

Open
nhpackard opened this issue Aug 10, 2024 · 0 comments
Open

Analytics not downloaded. #53

nhpackard opened this issue Aug 10, 2024 · 0 comments

Comments

@nhpackard
Copy link
Contributor

In Test.ipynb, the analytics cell reads:

# You can optionally generate analytics graphs at each step of
# the loop. These PDF files can then be picked up by automation
# software and included in your lab notebook, etc.

print('Generating analytics files.')

# Generate any analytics files that are available for this generation.
# Since the `auto_task_timeout` option has been set, the script will
# block until the files are ready to be downloaded.
daptics.generate_analytics()

print('Downloading analytics files.')

# Fetch the PDF analytics files via authenticated HTTP, and save them
# to the './output' directory, where your automation workflow
# software can pick them up.
daptics.download_all_analytics_files(daptics.analytics, output_path, name_by_gen=True)

print('Generation {} analytics are now available in output directory.'.format(gen))

It appears to execute fine, yielding

Generating analytics files.
Task status = running after 6 retries...
Task completed!
Downloading analytics files.
Generation 2 analytics are now available in output directory.

But listing the output directory shows no files have been downloaded. I checked to make sure output_path = './output'.

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

1 participant