Skip to content

Error with CLI #78

@scottdaniel

Description

@scottdaniel

Trying register_samples or register_run gives the following error:
Traceback (most recent call last):
File "/home/danielsg/miniconda3/envs/samplereg/bin/register_samples", line 6, in
sys.exit(register_samples())
File "/home/danielsg/SampleRegistry/sample_registry/register.py", line 52, in register_samples
return register_sample_annotations(None, True)
File "/home/danielsg/SampleRegistry/sample_registry/register.py", line 72, in register_sample_annotations
registry = SampleRegistry(session)
File "/home/danielsg/SampleRegistry/sample_registry/registrar.py", line 24, in init
from sample_registry import session as imported_session
ImportError: cannot import name 'session' from 'sample_registry' (/home/danielsg/SampleRegistry/sample_registry/init.py)

Metadata

Metadata

Assignees

No one assigned

    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