Skip to content

AttributeError: module 'data_tools' has no attribute 'structure_from_file' #24

@songxh1996

Description

@songxh1996

I tested to run single chromosome structure script.

fig1.py:
import data_tools
import plotting
structure = data_tools.structure_from_file("outhic_1_500kb_structure.tsv")
plotting.plot_structure_interactive(structure, color=(0,0.5,0.7), radius=0.01)

(miniMDS) [xh@mu01 bed]$ python3 fig1.py

Traceback (most recent call last):
File "/pub3/Liu-group/songxh/hi_c/ld/minimds/bed/fig1.py", line 3, in
structure = data_tools.structure_from_file("outhic_1_500kb_structure.tsv")
AttributeError: module 'data_tools' has no attribute 'structure_from_file'

if you have some ideas, please.

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