Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cellbender/remove_background/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,11 @@ def run_inference(dataset_obj: SingleCellRNACountsDataset,

logger.info('No checkpoint loaded.')

# If checkpoint is not loaded set output_checkpoint_tarball to checkpoint_filename
# In this way the user can use checkpoint option to set a custom locatio for checkpoint file
output_checkpoint_tarball = args.input_checkpoint_tarball
logger.info(f'New checkpoint file will be saved as {output_checkpoint_tarball}')

# Get the trimmed count matrix (transformed if called for).
count_matrix = dataset_obj.get_count_matrix()

Expand Down