cellpack.autopack.loaders package

Submodules

cellpack.autopack.loaders.analysis_config_loader module

class cellpack.autopack.loaders.analysis_config_loader.AnalysisConfigLoader(input_file_path)[source]

Bases: object

default_values = {'format_version': '1.1', 'packing_result_path': 'cellpack/tests/outputs/test_partner_packing/spheresSST', 'version': '1.0.0'}

cellpack.autopack.loaders.config_loader module

class cellpack.autopack.loaders.config_loader.ConfigLoader(input_file_path=None)[source]

Bases: object

default_values = {'clean_grid_cache': False, 'format': 'simularium', 'inner_grid_method': 'trimesh', 'live_packing': False, 'load_from_grid_file': False, 'name': 'default', 'number_of_packings': 1, 'open_results_in_browser': True, 'ordered_packing': False, 'out': 'out/', 'overwrite_place_method': False, 'parallel': False, 'place_method': 'spheresSST', 'randomness_seed': None, 'save_analyze_result': False, 'save_converted_recipe': False, 'save_gradient_data_as_image': False, 'show_grid_plot': False, 'show_progress_bar': False, 'show_sphere_trees': False, 'spacing': None, 'upload_results': True, 'use_periodicity': False, 'version': 1.0}
class cellpack.autopack.loaders.config_loader.Inner_Grid_Methods(value)[source]

Bases: MetaEnum

An enumeration.

RAYTRACE = 'raytrace'
SCANLINE = 'scanline'
TRIMESH = 'trimesh'
class cellpack.autopack.loaders.config_loader.Place_Methods(value)[source]

Bases: MetaEnum

An enumeration.

JITTER = 'jitter'
SPHERES_SST = 'spheresSST'

cellpack.autopack.loaders.migrate_v1_to_v2 module

cellpack.autopack.loaders.migrate_v1_to_v2.check_required_attributes(old_ingredient_data)[source]
cellpack.autopack.loaders.migrate_v1_to_v2.convert(old_recipe)[source]
cellpack.autopack.loaders.migrate_v1_to_v2.convert_rotation_range(old_ingredient)[source]
cellpack.autopack.loaders.migrate_v1_to_v2.get_and_store_v2_object(ingredient_key, ingredient_data, region_list, objects_dict)[source]
cellpack.autopack.loaders.migrate_v1_to_v2.get_representations(old_ingredient)[source]
cellpack.autopack.loaders.migrate_v1_to_v2.migrate_ingredient(old_ingredient)[source]
cellpack.autopack.loaders.migrate_v1_to_v2.split_ingredient_data(object_key, ingredient_data)[source]

cellpack.autopack.loaders.migrate_v2_to_v2_1 module

cellpack.autopack.loaders.migrate_v2_to_v2_1.convert(recipe_data_2_0)[source]
cellpack.autopack.loaders.migrate_v2_to_v2_1.convert_gradients(old_gradients_dict)[source]
cellpack.autopack.loaders.migrate_v2_to_v2_1.convert_partners(object_data)[source]

cellpack.autopack.loaders.recipe_loader module

class cellpack.autopack.loaders.recipe_loader.RecipeLoader(input_file_path, save_converted_recipe=False)[source]

Bases: object

default_values = {'bounding_box': [[0, 0, 0], [100, 100, 100]], 'representations': {'atomic': None, 'mesh': None, 'packing': None}}
get_all_ingredients(results_data_in)[source]
static resolve_inheritance(objects)[source]

cellpack.autopack.loaders.utils module

cellpack.autopack.loaders.utils.create_file_info_object_from_full_path(full_path)[source]
cellpack.autopack.loaders.utils.create_output_dir(out_base_folder, recipe_name, sub_dir=None)[source]
cellpack.autopack.loaders.utils.read_json_file(path)[source]
cellpack.autopack.loaders.utils.write_json_file(path, data)[source]

cellpack.autopack.loaders.v1_v2_attribute_changes module

Module contents

Loaders for cellpack.