Skip to content

Commit

Permalink
fixes imports after source files moved to imlib (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlenzi authored Apr 15, 2020
1 parent 5471bb9 commit fb6e1c4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 22 deletions.
2 changes: 1 addition & 1 deletion cellfinder/analyse/group/region_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pandas as pd
from imlib.general.list import remove_empty_string, unique_elements_lists

from cellfinder.tools.source_files import get_structures_path
from imlib.source.source_files import get_structures_path


def structure_name_to_id(structure_name, reference_structures_table):
Expand Down
2 changes: 1 addition & 1 deletion cellfinder/summarise/count_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import cellfinder.tools.parser as cellfinder_parse
from cellfinder.tools.prep import prep_atlas_conf, Paths
from cellfinder.tools.source_files import get_structures_path
from imlib.source.source_files import get_structures_path

LEFT_HEMISPHERE = 2
RIGHT_HEMISPHERE = 1
Expand Down
17 changes: 0 additions & 17 deletions cellfinder/tools/source_files.py

This file was deleted.

4 changes: 2 additions & 2 deletions cellfinder/utils/generate_region_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from imlib.image.scale import scale_and_convert_to_16_bits
from imlib.image import nii

from cellfinder.tools.source_files import source_custom_config
from cellfinder.tools.source_files import get_structures_path
from imlib.source.source_files import source_custom_config_cellfinder
from imlib.source.source_files import get_structures_path
from cellfinder.analyse.group.region_summary import get_substructures


Expand Down
2 changes: 1 addition & 1 deletion cellfinder/utils/xml_crop.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import cellfinder.summarise.count_summary as cells_regions
from imlib.IO.cells import cells_to_xml
from cellfinder.tools.prep import prep_atlas_conf
from cellfinder.tools.source_files import get_structures_path
from imlib.source.source_files import get_structures_path
from imlib.IO.structures import load_structures_as_df


Expand Down

0 comments on commit fb6e1c4

Please sign in to comment.