Skip to content

Commit 6d0d0a5

Browse files
committed
tests: increase debugging info
1 parent 4d758b1 commit 6d0d0a5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ckanext/dc_serve/jobs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,15 @@ def _is_basin_of_dataset(ds,
323323
if mapping_is_same and bn_runid == ds_runid:
324324
# This is an ideal case. Both run identifiers match and the mapping
325325
# is identical.
326-
logger.info(f"same {bn_runid} {ds_runid}")
326+
print(f"same {bn_runid} {ds_runid}")
327327
return True
328328

329329
elif not mapping_is_same and ds_runid.rsplit("_", 1)[0] == bn_runid:
330330
# This is a slightly more complicated cases. If you split the
331331
# run identifiers with an underscore (dclab 0.65.0 and dcnum 0.25.11
332332
# correctly support this), then the referrer has a run identifier
333333
# that starts with that of the basin.
334-
logger.info(f"basinmap {bn_runid} {ds_runid}")
334+
print(f"basinmap {bn_runid} {ds_runid}")
335335
return True
336336

337337
# None of the above cases matched. This is not a basin of ds.

ckanext/dc_serve/tests/test_jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def test_upload_condensed_dataset_to_s3_job_and_verify_intra_dataset_basin_chn(
573573
assert "userdef3" not in ds.features_innate
574574
basins = ds.basins_get_dicts()
575575
print("BASINS3", basins)
576-
print("RUNID2", ds.get_measurement_identifier())
576+
print("RUNID3", ds.get_measurement_identifier())
577577
for bn_dict in basins:
578578
if bn_dict["name"].count("DCOR intra-dataset for luke.rtdc"):
579579
assert bn_dict["mapping"] == "basinmap1"

0 commit comments

Comments
 (0)