@@ -395,7 +395,7 @@ def test_text_and_demographics_update(sample_data, mock_demographics, tmp_path):
395395def test_post_process_only_missing_results (sample_data , mock_demographics , tmp_path ):
396396 """Test post_process='only' gracefully handles missing results."""
397397 demographics_dir = setup_demographics_dir (tmp_path , mock_demographics )
398-
398+
399399 # Create test data with clear transformation differences
400400 test_study_id = list (mock_demographics .keys ())[0 ]
401401 modified_dataset = sample_data .slice ([test_study_id ])
@@ -409,23 +409,25 @@ def test_post_process_only_missing_results(sample_data, mock_demographics, tmp_p
409409 "pipeline_dir" : Path (demographics_dir ),
410410 }
411411 }
412-
412+
413413 # Create output dir but don't run pipeline
414414 output_dir = tmp_path / "output"
415415 output_dir .mkdir (parents = True )
416-
416+
417417 # Try post-process only - should log warning but not error
418418 hash_dir = extractor .transform_dataset (
419419 modified_dataset ,
420420 output_dir ,
421421 post_process = "only" ,
422- input_pipeline_info = input_pipeline_info
422+ input_pipeline_info = input_pipeline_info ,
423423 )
424-
424+
425425 # Check directory exists but no results were created
426426 study_dir = hash_dir / test_study_id
427427 assert not (study_dir / "results.json" ).exists (), "No results should be created"
428- assert not (study_dir / "raw_results.json" ).exists (), "No raw results should be created"
428+ assert not (
429+ study_dir / "raw_results.json"
430+ ).exists (), "No raw results should be created"
429431
430432
431433def test_post_process_and_file_handling (sample_data , mock_demographics , tmp_path ):
0 commit comments