Skip to content

Analytics not downloaded. #53

@nhpackard

Description

@nhpackard

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions