Skip to content

Document the usage with python -m #368

@gopi1616

Description

@gopi1616

My project structure:

gfa/
├── config
│   └── settings.yaml
├── init.py
├── main.py
├── resources
│   ├── exon_body.bed
│   ├── exon_end.bed
│   ├── exon_start.bed
├── src
│   ├── annotators
│   │   ├── get_annots.py
│   │   └── init.py
│   ├── gfa.py
│   ├── preprocess
└── tests
├── fixtures
│   └── test_bkpt.tsv
├── init.py
└── test_get_annots.py

I have a settings.yaml in the config folder with the content below

---
exon_region_dict
  start : '../resources/exon_start.bed'
  stop : '../resources/exon_stop.bed'
  body : '../resources/exon_body.bed'

I call settings.EXON_REGION_DICT in get_annots.py but I get this error
line 113, in getattr
return getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'EXON_REGION_DICT'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions