Skip to content

Commit

Permalink
remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Jan 26, 2024
1 parent ee791e6 commit eace948
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/dolomite_sce/save_single_cell_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ def save_single_cell_experiment(

# save alt expts.
_alt_names = x.get_alternative_experiment_names()
print(_alt_names)
print(x)
print(x.get_alternative_experiments())
if len(_alt_names) > 0:
_alt_path = os.path.join(path, "alternative_experiments")
os.mkdir(_alt_path)
Expand All @@ -130,9 +127,7 @@ def save_single_cell_experiment(
json.dump(_alt_names, handle)

for _aidx, _aname in enumerate(_alt_names):
print(_aidx, _aname)
_alt_save_path = os.path.join(_alt_path, str(_aidx))
print(x.alternative_experiment(_aname))
try:
dl.save_object(
x.alternative_experiment(_aname),
Expand Down
5 changes: 0 additions & 5 deletions tests/test_stage_single_cell_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ def test_stage_sce_with_rdims_and_alts():
save_object(se, dir)

roundtrip = read_object(dir)

print(se.reduced_dim("tsnooch"), roundtrip.reduced_dim("tsnooch"))
assert isinstance(roundtrip, SingleCellExperiment)
assert numpy.allclose(se.row_data["foo"], roundtrip.row_data["foo"])
assert numpy.allclose(se.column_data["stuff"], roundtrip.column_data["stuff"])
Expand Down Expand Up @@ -154,9 +152,6 @@ def test_empty_dimnames():
),
)

print(se.row_data)
print(se.get_row_data())

dir = os.path.join(mkdtemp(), "sce_dimdata3")
save_object(se, dir)

Expand Down

0 comments on commit eace948

Please sign in to comment.