Skip to content

Relative paths cause file open bug #244

@kelleyl

Description

@kelleyl

Bug Description

When running a clams app using the cli.py script, if the script is not run from the same directory as the app, any relative file paths will not work correctly.

Reproduction steps

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

No response

Log output

No response

Screenshots

No response

Additional context

analyzer_version=[l.strip().rsplit('==')[-1] for l in open('requirements.txt').readlines() if re.match(r'^ANALYZER_NAME==', l)][0],

This reference to requirements.txt will need to change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛BSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions