Skip to content

Remove absolute paths and redundant file references #13

@benjaminhwilliams

Description

@benjaminhwilliams
  • Several experiment list files contain references to image file templates and/or mask files that refer to an absolute path.
  • In some cases, the file name doesn't match the example image/mask files in the same directory, presumably the intended target of these references.
  • In some cases, there is no matching file uploaded.

The latter two points aren't necessarily a problem until/unless someone writes a test that queries the linked mask/image file(s), but it seems sensible to make the uploaded data consistent and complete where possible, to avoid future test-writers getting caught out.

Examples:

$ grep -r "Users\|home"
l_cysteine_integrated/30_integrated_experiments.json:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_02_#####.cbf", 
l_cysteine_integrated/30_integrated_experiments.json:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
l_cysteine_integrated/25_integrated_experiments.json:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_01_#####.cbf", 
l_cysteine_integrated/25_integrated_experiments.json:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
l_cysteine_integrated/35_integrated_experiments.json:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_03_#####.cbf", 
l_cysteine_integrated/35_integrated_experiments.json:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
l_cysteine_integrated/20_integrated_experiments.json:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_04_#####.cbf", 
l_cysteine_integrated/20_integrated_experiments.json:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
pdteet-2-lattice/sweep-04/indexed.expt:      "template": "/Users/graeme/data/i19-1-double-PdTEET/PdTEET_04_#####.cbf.gz", 
l_cysteine_4_sweeps_scaled/scaled_20_25.expt:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_04_#####.cbf", 
l_cysteine_4_sweeps_scaled/scaled_20_25.expt:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
l_cysteine_4_sweeps_scaled/scaled_20_25.expt:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_01_#####.cbf", 
l_cysteine_4_sweeps_scaled/scaled_20_25.expt:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
l_cysteine_4_sweeps_scaled/scaled_30.expt:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_02_#####.cbf", 
l_cysteine_4_sweeps_scaled/scaled_30.expt:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
l_cysteine_4_sweeps_scaled/scaled_35.expt:      "template": "/Users/graeme/data/i19-1/l-cyst/l-cyst_03_#####.cbf", 
l_cysteine_4_sweeps_scaled/scaled_35.expt:      "mask": "/Users/graeme/Projects/l-cys/DEFAULT/NATIVE/SWEEP1/index/hot_mask_0.pickle", 
centroid_test_data/INTEGRATE.HKL:!NAME_TEMPLATE_OF_DATA_FRAMES=/Users/graeme/data/RU/1/X4_lots_M1S4_1_0???.cbf CB

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions